diff options
author | Ryota Ozaki <ozaki.ryota@gmail.com> | 2010-05-03 06:50:25 +0900 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2010-05-17 10:20:04 +0200 |
commit | cb7cf0e3f471143136afb2ad1ff65890a978adc6 (patch) | |
tree | 13c20a54736a4c1723c0a04e6b46ec09565b8aad /block/cloop.c | |
parent | 3abbc4d981159f2d53896808974ca7b07259ac58 (diff) |
qemu-nbd: Improve error reporting
- use err(3) instead of errx(3) if errno is available
to report why failed
- let fail prior to daemon(3) if opening a nbd file
is likely to fail after daemonizing to avoid silent
failure exit
- add missing 'ret = 1' when unix_socket_outgoing failed
Signed-off-by: Ryota Ozaki <ozaki.ryota@gmail.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'block/cloop.c')
0 files changed, 0 insertions, 0 deletions