e3edfcd663
- Don't tie glusterfs support to specific arch - Build skiboot firmware (OPAL), particularly since it's fairly easy to do so OBS-URL: https://build.opensuse.org/request/show/534273 OBS-URL: https://build.opensuse.org/package/show/Virtualization/qemu?expand=0&rev=371
29 lines
843 B
Diff
29 lines
843 B
Diff
From bfb0e54f493d4003a397d5c1b50fc77195e7ffb5 Mon Sep 17 00:00:00 2001
|
|
From: Stewart Smith <stewart@linux.vnet.ibm.com>
|
|
Date: Thu, 2 Feb 2017 16:35:40 +1100
|
|
Subject: [PATCH] libc/stdio/vsnprintf.c: add explicit fallthrough
|
|
|
|
silences recent GCC warning
|
|
|
|
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
|
|
Signed-off-by: Bruce Rogers <brogers@suse.com>
|
|
---
|
|
libc/stdio/vsnprintf.c | 1 +
|
|
1 file changed, 1 insertion(+)
|
|
|
|
diff --git a/libc/stdio/vsnprintf.c b/libc/stdio/vsnprintf.c
|
|
index fbb84a0b..e83cee84 100644
|
|
--- a/libc/stdio/vsnprintf.c
|
|
+++ b/libc/stdio/vsnprintf.c
|
|
@@ -164,6 +164,7 @@ print_format(char **buffer, size_t bufsize, const char *format, void *var)
|
|
break;
|
|
case 'X':
|
|
upper = true;
|
|
+ /* fallthrough */
|
|
case 'x':
|
|
sizec[i] = '\0';
|
|
value = (unsigned long) var & convert[length_mod];
|
|
--
|
|
2.14.1
|
|
|