commit | b6353bea572f8cc0f35fb7dc438ce74c08dda9e7 | [log] [tgz] |
---|---|---|
author | Ryota Ozaki <ozaki.ryota@gmail.com> | Sat Mar 20 15:23:23 2010 +0900 |
committer | Aurelien Jarno <aurelien@aurel32.net> | Sat Mar 27 14:02:46 2010 +0100 |
tree | 5db9f4d97087309165cdc8387a1dcccc21f31aaf | |
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>