various: don't log synthetic EIO for fwrite

Follow-up for f9568765d4
This commit is contained in:
Mike Yuan
2023-12-08 10:49:08 +09:00
committed by Yu Watanabe
parent 59b13e07f2
commit 513412a69c
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -206,7 +206,7 @@ static int create_edit_temp_file(EditFile *e, const char *contents, size_t conte
if (e->context->stdin) {
if (fwrite(contents, 1, contents_size, f) != contents_size)
return log_error_errno(SYNTHETIC_ERRNO(EIO),
"Failed to copy input to temporary file '%s': %m", temp);
"Failed to copy input to temporary file '%s'.", temp);
} else {
r = populate_edit_temp_file(e, f, temp);
if (r < 0)