Message ID | d570f1f7-0db7-cbfb-6a13-eae66263555c@redhat.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
--- ./block/file-posix.c +++ /tmp/nothing/block/file-posix.c @@ -1762,8 +1762,6 @@ static int raw_regular_truncate(int fd, out: if (result < 0) { if (ftruncate(fd, current_length) < 0) { - error_report("Failed to restore old file length: %s", - strerror(errno)); } } diff -u -p ./util/osdep.c /tmp/nothing/util/osdep.c --- ./util/osdep.c +++ /tmp/nothing/util/osdep.c @@ -89,7 +89,6 @@ static int qemu_mprotect__osdep(void *ad return 0; #else if (mprotect(addr, size, prot)) { - error_report("%s: mprotect failed: %s", __func__, strerror(errno)); return -1; } return 0;