summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1995-03-21 02:50:03 +0000
committerMichael I. Bushnell <mib@gnu.org>1995-03-21 02:50:03 +0000
commitcc92419bfe4b4f46eb527358d43a2e07bb0abb2b (patch)
tree02ed45750778ed3e3f82dd35e0153308390664b1 /utils
parent40b10d00f5d438e4a56588578312059b414864fa (diff)
Include <hurd/ps.h> instead of "ps.h".
Include <unistd.h>. (enum_name): Avoid warning.
Diffstat (limited to 'utils')
-rw-r--r--utils/ps.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/utils/ps.c b/utils/ps.c
index 798eb9c6..9464ed42 100644
--- a/utils/ps.c
+++ b/utils/ps.c
@@ -26,6 +26,7 @@
#include <ctype.h>
#include <getopt.h>
#include <hurd/ps.h>
+#include <unistd.h>
#include "error.h"
#include "common.h"
@@ -101,6 +102,7 @@ enum_name(char *arg, char **choices, char *kind, int allow_mismatches)
{
fprintf(stderr, "%s: invalid %s", arg, kind);
usage(1);
+ return 0;
}
}