chiark / gitweb /
log: fix order of log_unit_struct() to match other logging calls
[elogind.git] / src / core / unit.c
index 2e8df7d8d8017b12b8ad21cf683b622914cbfc76..88cddbd02355b2c0e3bc4d7a9ba328060b3d4cc1 100644 (file)
@@ -1394,10 +1394,10 @@ static void unit_status_log_starting_stopping_reloading(Unit *u, JobType t) {
               t == JOB_STOP  ? SD_MESSAGE_UNIT_STOPPING :
                                SD_MESSAGE_UNIT_RELOADING;
 
-        log_unit_struct(LOG_INFO,
-                        u->id,
-                        MESSAGE_ID(mid),
-                        "MESSAGE=%s", buf,
+        log_unit_struct(u->id,
+                        LOG_INFO,
+                        LOG_MESSAGE_ID(mid),
+                        LOG_MESSAGE("%s", buf),
                         NULL);
 }