From 373e778646140b261eca4b2b2b9b887e1d93f1d0 Mon Sep 17 00:00:00 2001 From: Marek Marczykowski Date: Sat, 25 Aug 2012 01:06:25 +0200 Subject: [PATCH] vm/filecopy: remove duplicated error reporting Each write_all is check for errors (when it makes sense) with own perror call, so don't dupplicate messages. --- qubes_rpc/ioall.c | 1 - 1 file changed, 1 deletion(-) diff --git a/qubes_rpc/ioall.c b/qubes_rpc/ioall.c index 239f333..fff063c 100644 --- a/qubes_rpc/ioall.c +++ b/qubes_rpc/ioall.c @@ -42,7 +42,6 @@ int write_all(int fd, void *buf, int size) if (ret == -1 && errno == EINTR) continue; if (ret <= 0) { - perror_wrapper("write"); return 0; } written += ret;