summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdio/vsscanf.c
diff options
context:
space:
mode:
authorespie <espie@openbsd.org>2005-06-17 20:40:30 +0000
committerespie <espie@openbsd.org>2005-06-17 20:40:30 +0000
commitc2fb321235c8dbfba0909bc43913400e90646ae7 (patch)
tree101c9655c9c5856e7de799c241b4fad9067a89db /lib/libc/stdio/vsscanf.c
parentbye bye whiteouts (diff)
downloadwireguard-openbsd-c2fb321235c8dbfba0909bc43913400e90646ae7.tar.xz
wireguard-openbsd-c2fb321235c8dbfba0909bc43913400e90646ae7.zip
next citrus step.
reviewed by millert, otto, kevlo, naddy, kettenis... libc+libstdc++ bump
Diffstat (limited to 'lib/libc/stdio/vsscanf.c')
-rw-r--r--lib/libc/stdio/vsscanf.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/libc/stdio/vsscanf.c b/lib/libc/stdio/vsscanf.c
index a1585c622a0..7b6040a26b4 100644
--- a/lib/libc/stdio/vsscanf.c
+++ b/lib/libc/stdio/vsscanf.c
@@ -31,7 +31,7 @@
*/
#if defined(LIBC_SCCS) && !defined(lint)
-static char rcsid[] = "$OpenBSD: vsscanf.c,v 1.8 2005/05/11 18:39:19 espie Exp $";
+static char rcsid[] = "$OpenBSD: vsscanf.c,v 1.9 2005/06/17 20:40:32 espie Exp $";
#endif /* LIBC_SCCS and not lint */
#include <stdio.h>
@@ -57,7 +57,6 @@ vsscanf(const char *str, const char *fmt, _BSD_VA_LIST_ ap)
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;
return (vfscanf(&f, fmt, ap));
}