Re: [PATCH xserver] x86emu: Teach the debug code about varargs

2018-01-16 Thread Eric Anholt
Adam Jackson writes: > With -Wformat-nonliteral and a debug build you'd get yelled at here: > > ../hw/xfree86/x86emu/x86emu/debug.h:188:9: warning: format not a string > literal, argument types not checked [-Wformat-nonliteral] > > To fix this, rewrite the printf code to

[PATCH xserver] x86emu: Teach the debug code about varargs

2018-01-10 Thread Adam Jackson
With -Wformat-nonliteral and a debug build you'd get yelled at here: ../hw/xfree86/x86emu/x86emu/debug.h:188:9: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] To fix this, rewrite the printf code to actually use varargs and the appropriate format