ref: 18d1ef20b3b07030b726964171e2b4afcfa5d2ef
parent: da20365290ec901ebcdc284f472dd0f01670eaf2
author: cinap_lenrek <[email protected]>
date: Thu Aug 2 18:22:57 EDT 2012
format check for octal fmt strings (import from sources)
--- a/sys/include/libc.h
+++ b/sys/include/libc.h
@@ -177,16 +177,23 @@
#pragma varargck argpos sprint 2
#pragma varargck type "lld" vlong
+#pragma varargck type "llo" vlong
#pragma varargck type "llx" vlong
+#pragma varargck type "llb" vlong
#pragma varargck type "lld" uvlong
+#pragma varargck type "llo" uvlong
#pragma varargck type "llx" uvlong
+#pragma varargck type "llb" uvlong
#pragma varargck type "ld" long
+#pragma varargck type "lo" long
#pragma varargck type "lx" long
#pragma varargck type "lb" long
#pragma varargck type "ld" ulong
+#pragma varargck type "lo" ulong
#pragma varargck type "lx" ulong
#pragma varargck type "lb" ulong
#pragma varargck type "d" int
+#pragma varargck type "o" int
#pragma varargck type "x" int
#pragma varargck type "c" int
#pragma varargck type "C" int