=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/tcfs/Attic/tcfsrmuser.c,v retrieving revision 1.8 retrieving revision 1.9 diff -u -r1.8 -r1.9 --- src/usr.bin/tcfs/Attic/tcfsrmuser.c 2000/06/20 08:59:53 1.8 +++ src/usr.bin/tcfs/Attic/tcfsrmuser.c 2000/06/20 18:15:58 1.9 @@ -1,4 +1,4 @@ -/* $OpenBSD: tcfsrmuser.c,v 1.8 2000/06/20 08:59:53 fgsch Exp $ */ +/* $OpenBSD: tcfsrmuser.c,v 1.9 2000/06/20 18:15:58 aaron Exp $ */ /* * Transparent Cryptographic File System (TCFS) for NetBSD @@ -46,7 +46,7 @@ if ((user = (char *)malloc(LOGIN_NAME_MAX + 1)) == NULL) err(1, NULL); - while ((val = getopt(argn, argv, "l:hv")) != EOF) + while ((val = getopt(argn, argv, "l:hv")) != -1) switch (val) { case 'l': strlcpy(user, optarg, LOGIN_NAME_MAX + 1);