Nicer error output
This commit is contained in:
parent
870d5c92fe
commit
16ca035b2b
@ -285,7 +285,8 @@ private:
|
||||
return errno;
|
||||
}
|
||||
if ((size_t)bytesWritten != toCopy) {
|
||||
fprintf(stderr, "Error: Failed to write all data\n");
|
||||
fprintf(stderr, "Error: Failed to write all data (%zd of "
|
||||
"%zu)\n", bytesWritten, toCopy);
|
||||
return B_ERROR;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user