Add a trivial ps command.

This commit is contained in:
Eric Andersen
1999-10-20 08:05:35 +00:00
parent ce8f3b9933
commit ef8b6c757d
8 changed files with 146 additions and 2 deletions

View File

@ -79,7 +79,7 @@ extern int more_main(int argc, char **argv)
file = fopen(*argv, "r");
if (file == NULL) {
perror("Can't open file");
perror(*argv);
exit(FALSE);
}
fstat(fileno(file), &st);