diff options
| author | Andrey A. Chernov <ache@FreeBSD.org> | 1997-12-24 14:32:40 +0000 | 
|---|---|---|
| committer | Andrey A. Chernov <ache@FreeBSD.org> | 1997-12-24 14:32:40 +0000 | 
| commit | 5ebfa8de69f7860ed332336eff6bc7978a05852d (patch) | |
| tree | e24b87293af9b49a6e4577fbb5e9e4fe0f69cc86 /lib/libc/stdio/vsnprintf.c | |
| parent | 97adcd5ba18a0fd45661a89f452986401146eb93 (diff) | |
Notes
Diffstat (limited to 'lib/libc/stdio/vsnprintf.c')
| -rw-r--r-- | lib/libc/stdio/vsnprintf.c | 4 | 
1 files changed, 1 insertions, 3 deletions
| diff --git a/lib/libc/stdio/vsnprintf.c b/lib/libc/stdio/vsnprintf.c index ec13305ba69c..8d824fe594b8 100644 --- a/lib/libc/stdio/vsnprintf.c +++ b/lib/libc/stdio/vsnprintf.c @@ -39,7 +39,7 @@  static char sccsid[] = "@(#)vsnprintf.c	8.1 (Berkeley) 6/4/93";  #endif  static const char rcsid[] = -		"$Id: vsnprintf.c,v 1.5 1997/02/22 15:02:45 peter Exp $"; +		"$Id: vsnprintf.c,v 1.6 1997/12/24 12:31:32 ache Exp $";  #endif /* LIBC_SCCS and not lint */  #include <stdio.h> @@ -54,8 +54,6 @@ vsnprintf(str, n, fmt, ap)  	int ret;  	FILE f; -	if (n == 0) -		return (0);  	if ((int)n < 1)  		return (EOF);  	n--; | 
