summaryrefslogtreecommitdiff
path: root/usr.bin/tcfs/tcfsadduser.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/tcfs/tcfsadduser.c')
-rw-r--r--usr.bin/tcfs/tcfsadduser.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/tcfs/tcfsadduser.c b/usr.bin/tcfs/tcfsadduser.c
index 5418b62c0b2..9bcaf9c696c 100644
--- a/usr.bin/tcfs/tcfsadduser.c
+++ b/usr.bin/tcfs/tcfsadduser.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tcfsadduser.c,v 1.7 2000/06/20 08:59:53 fgsch Exp $ */
+/* $OpenBSD: tcfsadduser.c,v 1.8 2000/06/20 18:15:57 aaron Exp $ */
/*
* Transparent Cryptographic File System (TCFS) for NetBSD
@@ -41,7 +41,7 @@ adduser_main(int argn, char *argv[])
/*
* Going to check the arguments
*/
- while ((val = getopt(argn, argv, "g:l:hv")) != EOF)
+ while ((val = getopt(argn, argv, "g:l:hv")) != -1)
switch (val) {
case 'l':
strlcpy(user, optarg, sizeof(user));