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.
This commit is contained in:
Marek Marczykowski 2012-08-25 01:06:25 +02:00
parent 08c75542f8
commit 373e778646

View File

@ -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;