]> granicus.if.org Git - strace/commit
Stop using non-standard %Zu and %Zd formats for size_t printing
authorDenys Vlasenko <vda.linux@googlemail.com>
Wed, 16 May 2012 10:20:17 +0000 (12:20 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Wed, 16 May 2012 10:20:17 +0000 (12:20 +0200)
commit048cc42f08ac64a04d14e6de17611a5e7ec3b400
tree8159a3ea6f96333dde66a7191129db17430eec9a
parentc59b3f13fbc50712785cc2635ab12e8152c96aa1
Stop using non-standard %Zu and %Zd formats for size_t printing

The documented formats are %zu and %zd, but since our (normally disabled)
"fast" printf code doesn't support those too, I convert them to %lu and %ld.

* bjm.c (sys_query_module): Convert %Zd usages to %lu.
* system.c (sys_sysctl): Likewise.

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
bjm.c
system.c