qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v5 04/18] tests/qtest: migration-test: Avoid using hardcoded


From: Richard Henderson
Subject: Re: [PATCH v5 04/18] tests/qtest: migration-test: Avoid using hardcoded /tmp
Date: Wed, 26 Oct 2022 11:25:54 +1000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.2.2

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] 
20221017132023.2228641-1-bmeng.cn@gmail.com/">http://patchwork.ozlabs.org/project/qemu-devel/patch/20221017132023.2228641-1-bmeng.cn@gmail.com/

Oh, excellent, thanks.

r~




reply via email to

[Prev in Thread] Current Thread [Next in Thread]