chiark / gitweb /
Assorted format fixes
[elogind.git] / src / journal / journal-send.c
index 56a96c55dd0104ff315bc02161e7447d2527421a..65fefd25ac62c8472d2fdb2b8f5d66305119af54 100644 (file)
@@ -384,7 +384,7 @@ static int fill_iovec_perror_and_send(const char *message, int skip, struct iove
                                 memcpy(buffer + 8 + k - 2, ": ", 2);
                         }
 
-                        snprintf(error, sizeof(error), "ERRNO=%u", _saved_errno_);
+                        snprintf(error, sizeof(error), "ERRNO=%i", _saved_errno_);
                         char_array_0(error);
 
                         IOVEC_SET_STRING(iov[skip+0], "PRIORITY=3");