Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2000-10-18 08:55:01 +0400
committerChristopher Faylor <me@cgf.cx>2000-10-18 08:55:01 +0400
commit04f1fe89ec50f41f4131f52ead446588a2669b20 (patch)
tree7494f6a18e9e22f6e027f9ee87055b767cbdf0e9 /winsup/utils/ps.cc
parentac944e37d029c8bc9e38a51be76fece99a2826f1 (diff)
* ps.cc (main): Add some extra space to pid output for Windows 95.
Diffstat (limited to 'winsup/utils/ps.cc')
-rw-r--r--winsup/utils/ps.cc12
1 files changed, 6 insertions, 6 deletions
diff --git a/winsup/utils/ps.cc b/winsup/utils/ps.cc
index b1e94df9c..22554ce5c 100644
--- a/winsup/utils/ps.cc
+++ b/winsup/utils/ps.cc
@@ -171,12 +171,12 @@ main (int argc, char *argv[])
external_pinfo *p;
int aflag, lflag, fflag, sflag, uid;
cygwin_getinfo_types query = CW_GETPINFO;
- const char *dtitle = " PID TTY STIME COMMAND\n";
- const char *dfmt = "%5d%4d%10s %s\n";
- const char *ftitle = " UID PID PPID TTY STIME COMMAND\n";
- const char *ffmt = "%8.8s%6d%6d%4d%10s %s\n";
- const char *ltitle = " PID PPID PGID WINPID TTY UID STIME COMMAND\n";
- const char *lfmt = "%c %5d %5d %5d %8u %3d %4d %8s %s\n";
+ const char *dtitle = " PID TTY STIME COMMAND\n";
+ const char *dfmt = "%7d%4d%10s %s\n";
+ const char *ftitle = " UID PID PPID TTY STIME COMMAND\n";
+ const char *ffmt = "%8.8s%8d%8d%4d%10s %s\n";
+ const char *ltitle = " PID PPID PGID WINPID TTY UID STIME COMMAND\n";
+ const char *lfmt = "%c %7d %7d %7d %8u %3d %4d %8s %s\n";
char ch;
aflag = lflag = fflag = sflag = 0;