[Qemu-devel] [PATCH 04/14] usb-linux: Don't do perror when errno is not set

2011-05-31 Thread Hans de Goede
Note that "op" also is not set, so before this change these error paths would feed NULL to perror. --- usb-linux.c |5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/usb-linux.c b/usb-linux.c index 672a589..e6c6138 100644 --- a/usb-linux.c +++ b/usb-linux.c @@ -373,7 +373

Re: [Qemu-devel] [PATCH 04/14] usb-linux: Don't do perror when errno is not set

2011-06-01 Thread Gerd Hoffmann
On 05/31/11 11:35, Hans de Goede wrote: Note that "op" also is not set, so before this change these error paths would feed NULL to perror. Patch applied. thanks, Gerd

Re: [Qemu-devel] [PATCH 04/14] usb-linux: Don't do perror when errno is not set

2011-06-01 Thread Gerd Hoffmann
On 05/31/11 11:35, Hans de Goede wrote: Note that "op" also is not set, so before this change these error paths would feed NULL to perror. Patch applied. thanks, Gerd