On 10/26/22 10:44, Bin Meng wrote:
../src/tests/qtest/migration-test.c: In function ‘main’:
../src/tests/qtest/migration-test.c:2484:49: error: ‘%s’ directive argument is 
null
[-Werror=format-overflow=]
   2484 |         g_test_message("g_dir_make_tmp on path (%s): %s", tmpfs,
        |                                                 ^~

The compiler correctly notices that tmpfs was tested and found to be null, but 
tried to
print it anyway.


Patch [1] already queued in qemu-trivial

[1] 
http://patchwork.ozlabs.org/project/qemu-devel/patch/20221017132023.2228641-1-bmeng...@gmail.com/

Oh, excellent, thanks.

r~


Reply via email to