Re: [Qemu-devel] [PATCH] qemu-nbd: Improve error reporting

2010-05-03 Thread Kevin Wolf
Am 02.05.2010 23:50, schrieb Ryota Ozaki: > - 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_outgoi

[Qemu-devel] [PATCH] qemu-nbd: Improve error reporting

2010-05-02 Thread Ryota Ozaki
- 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 --- qemu-nbd.c