summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdio/vfscanf.c
diff options
context:
space:
mode:
authorguenther <guenther@openbsd.org>2014-03-19 05:17:01 +0000
committerguenther <guenther@openbsd.org>2014-03-19 05:17:01 +0000
commit7eff07bf935823e1931ad1b2db63ba4979c50e5e (patch)
treea5a1159c0ec89c76933d4765ed6c138a638e2734 /lib/libc/stdio/vfscanf.c
parentIt's safe to assumed 'signed' exists (diff)
downloadwireguard-openbsd-7eff07bf935823e1931ad1b2db63ba4979c50e5e.tar.xz
wireguard-openbsd-7eff07bf935823e1931ad1b2db63ba4979c50e5e.zip
It's still safe to assumed 'signed' exists
Diffstat (limited to 'lib/libc/stdio/vfscanf.c')
-rw-r--r--lib/libc/stdio/vfscanf.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc/stdio/vfscanf.c b/lib/libc/stdio/vfscanf.c
index c2996a971a0..abefe32cbb7 100644
--- a/lib/libc/stdio/vfscanf.c
+++ b/lib/libc/stdio/vfscanf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vfscanf.c,v 1.30 2013/04/17 17:40:35 tedu Exp $ */
+/* $OpenBSD: vfscanf.c,v 1.31 2014/03/19 05:17:01 guenther Exp $ */
/*-
* Copyright (c) 1990, 1993
* The Regents of the University of California. All rights reserved.
@@ -273,7 +273,7 @@ literal:
if (flags & SUPPRESS)
continue;
if (flags & SHORTSHORT)
- *va_arg(ap, __signed char *) = nread;
+ *va_arg(ap, signed char *) = nread;
else if (flags & SHORT)
*va_arg(ap, short *) = nread;
else if (flags & LONG)
@@ -749,7 +749,7 @@ literal:
else if (flags & SHORT)
*va_arg(ap, short *) = res;
else if (flags & SHORTSHORT)
- *va_arg(ap, __signed char *) = res;
+ *va_arg(ap, signed char *) = res;
else
*va_arg(ap, int *) = res;
nassigned++;