aboutsummaryrefslogtreecommitdiff
path: root/ps.c
diff options
context:
space:
mode:
Diffstat (limited to 'ps.c')
-rw-r--r--ps.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ps.c b/ps.c
index b49b7ddd4..ae33e3262 100644
--- a/ps.c
+++ b/ps.c
@@ -177,6 +177,7 @@ extern int ps_main(int argc, char **argv)
177 c = ' '; 177 c = ' ';
178 putc(c, stdout); 178 putc(c, stdout);
179 } 179 }
180 fclose(file);
180 if (i == 0) 181 if (i == 0)
181 fprintf(stdout, "[%s]", p.cmd); 182 fprintf(stdout, "[%s]", p.cmd);
182 fprintf(stdout, "\n"); 183 fprintf(stdout, "\n");