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:
+1
-1
@@ -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++) {
|
||||
|
||||
Reference in New Issue
Block a user