basic/log: fix return value from log_struct_iovec_internal()

This returned value so far wasn't used anywhere, so there's no change
in behaviour.
This commit is contained in:
Zbigniew Jędrzejewski-Szmek
2017-09-26 16:04:33 +02:00
parent 22c8321b09
commit 4005677730
+1 -1
View File
@@ -1022,7 +1022,7 @@ int log_struct_iovec_internal(
}
if (sendmsg(journal_fd, &mh, MSG_NOSIGNAL) >= 0)
return -errno;
return -error;
}
for (i = 0; i < n_input_iovec; i++) {