aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/limits
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>1997-03-29 04:34:07 +0000
committerWarner Losh <imp@FreeBSD.org>1997-03-29 04:34:07 +0000
commit1c8af8787354e20c2b38cab5801698133ff8b403 (patch)
tree678b7641c05ca5dc27c06cac1210b2a7712335a9 /usr.bin/limits
parent8d64695c7c6791641c71b15441665bafc43c2bd0 (diff)
Notes
Diffstat (limited to 'usr.bin/limits')
-rw-r--r--usr.bin/limits/limits.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/limits/limits.c b/usr.bin/limits/limits.c
index 4c3cbadca8e1..655e0da118e0 100644
--- a/usr.bin/limits/limits.c
+++ b/usr.bin/limits/limits.c
@@ -20,7 +20,7 @@
*
* Display/change(+runprogram)/eval resource limits.
*
- * $Id$
+ * $Id: limits.c,v 1.2 1997/02/22 19:55:37 peter Exp $
*/
#include <err.h>
@@ -246,7 +246,7 @@ main(int argc, char *argv[])
}
optarg = NULL;
- while ((ch = getopt(argc, argv, ":EeC:U:BSHac:d:f:l:m:n:s:t:u:")) != EOF) {
+ while ((ch = getopt(argc, argv, ":EeC:U:BSHac:d:f:l:m:n:s:t:u:")) != -1) {
switch(ch) {
case 'a':
doall = 1;