chiark / gitweb /
shutdown: allow to specify broadcast message when cancelling shutdown
[elogind.git] / src / journal / journald.c
index 5602e362df37324a9208697d17854c0f0e23de6c..af136e566733477f835ce04311ff6f616ccb1e8a 100644 (file)
@@ -721,7 +721,7 @@ static void driver_message(Server *s, sd_id128_t message_id, const char *format,
         assert(s);
         assert(format);
 
-        IOVEC_SET_STRING(iovec[n++], "PRIORITY=5");
+        IOVEC_SET_STRING(iovec[n++], "PRIORITY=6");
         IOVEC_SET_STRING(iovec[n++], "_TRANSPORT=driver");
 
         memcpy(buffer, "MESSAGE=", 8);
@@ -1174,6 +1174,7 @@ static void process_syslog_message(Server *s, const char *buf, struct ucred *ucr
         free(syslog_priority);
         free(syslog_facility);
         free(syslog_identifier);
+        free(syslog_pid);
 }
 
 static bool valid_user_field(const char *p, size_t l) {