]> git.ipfire.org Git - thirdparty/libvirt.git/commit
ch: Use proper format directive for @i in virCHProcessSetupIOThreads()
authorMichal Privoznik <mprivozn@redhat.com>
Tue, 5 Sep 2023 10:19:53 +0000 (12:19 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Tue, 5 Sep 2023 14:09:49 +0000 (16:09 +0200)
commitabecd6633e2b5c191080b6838c4c7658af3fddd8
tree20a35fd827b904b51c1a21530500b34eba29a29a
parentcf05b7fd97b73d42efb101bb80f89f9c75c1e748
ch: Use proper format directive for @i in virCHProcessSetupIOThreads()

The @i variable inside of virCHProcessSetupIOThreads() is a
typical loop counter - it's declared as size_t. But when passed
to VIR_DEBUG an invalid format directive is used (%ld). Fix that.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/ch/ch_process.c