diff options
| author | lukem <lukem@NetBSD.org> | 1999-09-20 04:38:56 +0000 |
|---|---|---|
| committer | lukem <lukem@NetBSD.org> | 1999-09-20 04:38:56 +0000 |
| commit | d896261208b4610b0c4e86ea95caad3cdc86a4ac (patch) | |
| tree | 9a96db945c9ffba191e3aa4d741cf5d30fbd30f2 /lib/libc/stdio/printf.c | |
| parent | f6ae64deff8e64a1acb3e1536bf6b6d06f7bffb9 (diff) | |
back out the #ifdef _DIAGNOSTIC argument checks; too many people complained.
_DIAGASSERT() is still retained.
Diffstat (limited to 'lib/libc/stdio/printf.c')
| -rw-r--r-- | lib/libc/stdio/printf.c | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/lib/libc/stdio/printf.c b/lib/libc/stdio/printf.c index f745cbbf298..aab554ccc5b 100644 --- a/lib/libc/stdio/printf.c +++ b/lib/libc/stdio/printf.c @@ -1,4 +1,4 @@ -/* $NetBSD: printf.c,v 1.7 1999/09/16 11:45:29 lukem Exp $ */ +/* $NetBSD: printf.c,v 1.8 1999/09/20 04:39:31 lukem Exp $ */ /*- * Copyright (c) 1990, 1993 @@ -41,7 +41,7 @@ #if 0 static char sccsid[] = "@(#)printf.c 8.1 (Berkeley) 6/4/93"; #else -__RCSID("$NetBSD: printf.c,v 1.7 1999/09/16 11:45:29 lukem Exp $"); +__RCSID("$NetBSD: printf.c,v 1.8 1999/09/20 04:39:31 lukem Exp $"); #endif #endif /* LIBC_SCCS and not lint */ @@ -66,13 +66,6 @@ printf(fmt, va_alist) int ret; va_list ap; -#ifdef _DIAGNOSTIC - _DIAGASSERT(fmt != NULL); - if (fmt == NULL) { - errno = EFAULT; - return (-1); - } -#endif #if __STDC__ va_start(ap, fmt); |
