summaryrefslogtreecommitdiffstats
path: root/include/exec
diff options
context:
space:
mode:
authorPaolo Bonzini2017-01-04 16:05:25 +0100
committerMichael Tokarev2017-01-24 21:26:53 +0100
commit9ed2690354e65a87b830f197cac0138e842f989e (patch)
treec068465296cef233a26e14a4c8dfe19a478dd967 /include/exec
parentqemu-img: remove dead check (diff)
downloadqemu-9ed2690354e65a87b830f197cac0138e842f989e.tar.gz
qemu-9ed2690354e65a87b830f197cac0138e842f989e.tar.xz
qemu-9ed2690354e65a87b830f197cac0138e842f989e.zip
pci-assign: avoid pointless stat
Just check the errno value after fopen and follow it with fstat. This shuts up Coverity's complaint about TOC/TOU violation. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'include/exec')
0 files changed, 0 insertions, 0 deletions