summaryrefslogtreecommitdiff
path: root/lib/libc/stdio/sscanf.c
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2005-06-17 20:40:33 +0000
committerMarc Espie <espie@cvs.openbsd.org>2005-06-17 20:40:33 +0000
commitbe7004e483155fec9dc1404ce22b9bf05c193127 (patch)
tree324b7c12f3d62c06a7c4873e563b9c5491af99e4 /lib/libc/stdio/sscanf.c
parentbca5a28b4734025b47828589f2a0704cc7e1d9e9 (diff)
next citrus step.
reviewed by millert, otto, kevlo, naddy, kettenis... libc+libstdc++ bump
Diffstat (limited to 'lib/libc/stdio/sscanf.c')
-rw-r--r--lib/libc/stdio/sscanf.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/libc/stdio/sscanf.c b/lib/libc/stdio/sscanf.c
index e8fea3ee68c..4c1b8d83d78 100644
--- a/lib/libc/stdio/sscanf.c
+++ b/lib/libc/stdio/sscanf.c
@@ -31,7 +31,7 @@
*/
#if defined(LIBC_SCCS) && !defined(lint)
-static char rcsid[] = "$OpenBSD: sscanf.c,v 1.10 2005/05/11 18:39:19 espie Exp $";
+static char rcsid[] = "$OpenBSD: sscanf.c,v 1.11 2005/06/17 20:40:32 espie Exp $";
#endif /* LIBC_SCCS and not lint */
#include <stdio.h>
@@ -60,7 +60,6 @@ sscanf(const char *str, const char *fmt, ...)
f._bf._base = f._p = (unsigned char *)str;
f._bf._size = f._r = strlen(str);
f._read = eofread;
- _UB(&f)._base = NULL;
f._lb._base = NULL;
va_start(ap, fmt);
ret = vfscanf(&f, fmt, ap);