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:
parent
08c75542f8
commit
373e778646
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user