work in progress...
[oweals/busybox.git] / ps.c
diff --git a/ps.c b/ps.c
index 55439dadad61b34827aa095497669a82037b27a7..4496faa31a4cf9f9fbf669e3c0232c1257481569 100644 (file)
--- a/ps.c
+++ b/ps.c
@@ -28,6 +28,9 @@
 #include <fcntl.h>
 #include <ctype.h>
 
+#if ! defined BB_FEATURE_USE_PROCFS
+#error Sorry, I depend on the /proc filesystem right now.
+#endif
 
 typedef struct proc_s {
     char
@@ -100,7 +103,7 @@ extern int ps_main(int argc, char **argv)
     int i, c;
 
     if ( argc>1 && **(argv+1) == '-' ) {
-       usage ("ps - report process status\nThis version of ps accepts no options.\n");
+       usage ("ps\n\nReport process status\n\nThis version of ps accepts no options.\n");
     }
     
     dir = opendir("/proc");