summaryrefslogtreecommitdiff
path: root/lib/libc
diff options
context:
space:
mode:
authorperseant <perseant@NetBSD.org>2017-07-11 19:36:38 +0000
committerperseant <perseant@NetBSD.org>2017-07-11 19:36:38 +0000
commitec0ae22dd66f13206fda75c6e7ea5dbe2984ef96 (patch)
tree39510545d089bb9d2bfac33a4f32f9685c7bf666 /lib/libc
parent56d0453834323e60577235ef91938268b6b7765c (diff)
A more correct fix for PR standards/52282.
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/stdio/vfwprintf.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc/stdio/vfwprintf.c b/lib/libc/stdio/vfwprintf.c
index d54432667f0..6f683d324d1 100644
--- a/lib/libc/stdio/vfwprintf.c
+++ b/lib/libc/stdio/vfwprintf.c
@@ -1,4 +1,4 @@
-/* $NetBSD: vfwprintf.c,v 1.35 2017/07/10 22:49:40 perseant Exp $ */
+/* $NetBSD: vfwprintf.c,v 1.36 2017/07/11 19:36:38 perseant Exp $ */
/*-
* Copyright (c) 1990, 1993
@@ -38,7 +38,7 @@
static char sccsid[] = "@(#)vfprintf.c 8.1 (Berkeley) 6/4/93";
__FBSDID("$FreeBSD: src/lib/libc/stdio/vfwprintf.c,v 1.27 2007/01/09 00:28:08 imp Exp $");
#else
-__RCSID("$NetBSD: vfwprintf.c,v 1.35 2017/07/10 22:49:40 perseant Exp $");
+__RCSID("$NetBSD: vfwprintf.c,v 1.36 2017/07/11 19:36:38 perseant Exp $");
#endif
#endif /* LIBC_SCCS and not lint */
@@ -930,7 +930,7 @@ reswitch: switch (ch) {
flags |= GROUPING;
else {
thousands_sep = '\0';
- grouping = "";
+ grouping = NULL;
}
goto rflag;
case '.':