diff options
author | Ryota Ozaki <ozaki.ryota@gmail.com> | 2010-03-20 15:23:23 +0900 |
---|---|---|
committer | Aurelien Jarno <aurelien@aurel32.net> | 2010-03-27 14:02:46 +0100 |
commit | b6353bea572f8cc0f35fb7dc438ce74c08dda9e7 (patch) | |
tree | 5db9f4d97087309165cdc8387a1dcccc21f31aaf /qemu-io.c | |
parent | a16c174c51e7cd896c701d5d0e8329e610e90ce1 (diff) |
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 <ozaki.ryota@gmail.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Diffstat (limited to 'qemu-io.c')
0 files changed, 0 insertions, 0 deletions