summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdio/sscanf.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/stdio/sscanf.c')
-rw-r--r--lib/libc/stdio/sscanf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/stdio/sscanf.c b/lib/libc/stdio/sscanf.c
index 0104e941e03..e8fea3ee68c 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.9 2005/04/30 09:25:17 espie Exp $";
+static char rcsid[] = "$OpenBSD: sscanf.c,v 1.10 2005/05/11 18:39:19 espie Exp $";
#endif /* LIBC_SCCS and not lint */
#include <stdio.h>
@@ -63,7 +63,7 @@ sscanf(const char *str, const char *fmt, ...)
_UB(&f)._base = NULL;
f._lb._base = NULL;
va_start(ap, fmt);
- ret = __svfscanf(&f, fmt, ap);
+ ret = vfscanf(&f, fmt, ap);
va_end(ap);
return (ret);
}