diff --git a/lib/libc/stdio/fgets.c b/lib/libc/stdio/fgets.c index ebbf636c8dbc..fdcd8dd6c901 100644 --- a/lib/libc/stdio/fgets.c +++ b/lib/libc/stdio/fgets.c @@ -1,4 +1,4 @@ -/* $NetBSD: fgets.c,v 1.19 2003/10/10 05:38:45 simonb Exp $ */ +/* $NetBSD: fgets.c,v 1.20 2003/12/14 23:56:28 lukem Exp $ */ /*- * Copyright (c) 1990, 1993 @@ -37,7 +37,7 @@ #if 0 static char sccsid[] = "@(#)fgets.c 8.2 (Berkeley) 12/22/93"; #else -__RCSID("$NetBSD: fgets.c,v 1.19 2003/10/10 05:38:45 simonb Exp $"); +__RCSID("$NetBSD: fgets.c,v 1.20 2003/12/14 23:56:28 lukem Exp $"); #endif #endif /* LIBC_SCCS and not lint */ @@ -84,7 +84,6 @@ fgets(buf, n, fp) } break; } - len = fp->_r; } len = fp->_r; p = fp->_p;