]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/journal/journald-console.c
process-util: add pidref_get_comm() and rename get_process_comm() to pid_get_comm()
[thirdparty/systemd.git] / src / journal / journald-console.c
index 8595ba3e453ba420a2c46afd4d9f8aaf0e2dd362..d914f92999d6eae40e1c941a1b289b977c818f32 100644 (file)
@@ -66,7 +66,7 @@ void server_forward_console(
         /* Second: identifier and PID */
         if (ucred) {
                 if (!identifier) {
-                        (void) get_process_comm(ucred->pid, &ident_buf);
+                        (void) pid_get_comm(ucred->pid, &ident_buf);
                         identifier = ident_buf;
                 }