summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdio/fscanf.c
diff options
context:
space:
mode:
authorespie <espie@openbsd.org>2005-10-10 17:37:43 +0000
committerespie <espie@openbsd.org>2005-10-10 17:37:43 +0000
commitc919a5c67f7747b0e7829a0c4949c301d961465d (patch)
tree6c3de2cdcd790312bec76fa75a99c60333503e41 /lib/libc/stdio/fscanf.c
parentgetlogin(2) sets errno; (diff)
downloadwireguard-openbsd-c919a5c67f7747b0e7829a0c4949c301d961465d.tar.xz
wireguard-openbsd-c919a5c67f7747b0e7829a0c4949c301d961465d.zip
fix a few warnings, keep the crypt stuff for later.
okay otto@
Diffstat (limited to 'lib/libc/stdio/fscanf.c')
-rw-r--r--lib/libc/stdio/fscanf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/stdio/fscanf.c b/lib/libc/stdio/fscanf.c
index 8b4b49642e7..2f3fcebb21b 100644
--- a/lib/libc/stdio/fscanf.c
+++ b/lib/libc/stdio/fscanf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: fscanf.c,v 1.8 2005/08/08 08:05:36 espie Exp $ */
+/* $OpenBSD: fscanf.c,v 1.9 2005/10/10 17:37:44 espie Exp $ */
/*-
* Copyright (c) 1990, 1993
* The Regents of the University of California. All rights reserved.
@@ -41,7 +41,7 @@ fscanf(FILE *fp, const char *fmt, ...)
va_list ap;
va_start(ap, fmt);
- ret = __svfscanf(fp, fmt, ap);
+ ret = vfscanf(fp, fmt, ap);
va_end(ap);
return (ret);
}