Minor formatting change
This commit is contained in:
parent
a90f20b1c3
commit
0392b8638e
@ -132,7 +132,7 @@ extern int ps_main(int argc, char **argv)
|
||||
terminal_width = win.ws_col - 1;
|
||||
#endif
|
||||
|
||||
printf("%5s %-8s %5s %s\n", "PID", "Uid", "State", "Command");
|
||||
printf(" PID Uid Stat Command\n");
|
||||
while ((entry = readdir(dir)) != NULL) {
|
||||
if (!isdigit(*entry->d_name))
|
||||
continue;
|
||||
@ -223,7 +223,7 @@ extern int ps_main(int argc, char **argv)
|
||||
#endif
|
||||
|
||||
/* Print up a ps listing */
|
||||
printf("%5s %-8s %5s %s\n", "PID", "Uid", "State", "Command");
|
||||
printf(" PID Uid Stat Command\n");
|
||||
|
||||
for (i=1; i<pid_array[0] ; i++) {
|
||||
info.pid = pid_array[i];
|
||||
|
4
ps.c
4
ps.c
@ -132,7 +132,7 @@ extern int ps_main(int argc, char **argv)
|
||||
terminal_width = win.ws_col - 1;
|
||||
#endif
|
||||
|
||||
printf("%5s %-8s %5s %s\n", "PID", "Uid", "State", "Command");
|
||||
printf(" PID Uid Stat Command\n");
|
||||
while ((entry = readdir(dir)) != NULL) {
|
||||
if (!isdigit(*entry->d_name))
|
||||
continue;
|
||||
@ -223,7 +223,7 @@ extern int ps_main(int argc, char **argv)
|
||||
#endif
|
||||
|
||||
/* Print up a ps listing */
|
||||
printf("%5s %-8s %5s %s\n", "PID", "Uid", "State", "Command");
|
||||
printf(" PID Uid Stat Command\n");
|
||||
|
||||
for (i=1; i<pid_array[0] ; i++) {
|
||||
info.pid = pid_array[i];
|
||||
|
Loading…
x
Reference in New Issue
Block a user