]> Git Repo - qemu.git/commit - qemu-nbd.c
qemu-nbd: Fix invalid usage of the first argument of errx
authorRyota Ozaki <[email protected]>
Sat, 20 Mar 2010 06:23:23 +0000 (15:23 +0900)
committerAurelien Jarno <[email protected]>
Sat, 27 Mar 2010 13:02:46 +0000 (14:02 +0100)
commitb6353bea572f8cc0f35fb7dc438ce74c08dda9e7
tree5db9f4d97087309165cdc8387a1dcccc21f31aaf
parenta16c174c51e7cd896c701d5d0e8329e610e90ce1
qemu-nbd: Fix invalid usage of the first argument of errx

errx takes the exit status of a process as the first
argument. Passing errno to it is wrong. Instead the
patch lets errx take EXIT_FAILURE.

Signed-off-by: Ryota Ozaki <[email protected]>
Signed-off-by: Aurelien Jarno <[email protected]>
qemu-nbd.c
This page took 0.02645 seconds and 4 git commands to generate.