diff options
Diffstat (limited to 'ps.c')
-rw-r--r-- | ps.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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"); |