diff options
Diffstat (limited to 'lib/libc/gen/getpwent.c')
-rw-r--r-- | lib/libc/gen/getpwent.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/libc/gen/getpwent.c b/lib/libc/gen/getpwent.c index 39c3685e438..724b7ff855d 100644 --- a/lib/libc/gen/getpwent.c +++ b/lib/libc/gen/getpwent.c @@ -33,7 +33,7 @@ */ #if defined(LIBC_SCCS) && !defined(lint) -static char rcsid[] = "$OpenBSD: getpwent.c,v 1.28 2002/11/21 21:25:19 millert Exp $"; +static char rcsid[] = "$OpenBSD: getpwent.c,v 1.29 2003/05/01 20:22:00 avsm Exp $"; #endif /* LIBC_SCCS and not lint */ #include <sys/param.h> @@ -422,6 +422,9 @@ again: goto again; } break; + case YPMODE_NONE: + /* NOTREACHED */ + break; } __ypline[datalen] = '\0'; |