]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
service: use empty_to_na() where appropriate
authorLennart Poettering <lennart@poettering.net>
Wed, 20 Sep 2023 07:39:12 +0000 (09:39 +0200)
committerLennart Poettering <lennart@poettering.net>
Wed, 20 Sep 2023 09:36:54 +0000 (11:36 +0200)
src/core/service.c

index 65278dae4aeea082182ae604d47f7d07dd1df714..c87870d8daefdaf349389708c776dbbf61b47c74 100644 (file)
@@ -4404,7 +4404,7 @@ static void service_notify_message(
                 _cleanup_free_ char *cc = NULL;
 
                 cc = strv_join(tags, ", ");
-                log_unit_debug(u, "Got notification message from PID "PID_FMT" (%s)", ucred->pid, isempty(cc) ? "n/a" : cc);
+                log_unit_debug(u, "Got notification message from PID "PID_FMT" (%s)", ucred->pid, empty_to_na(cc));
         }
 
         /* Interpret MAINPID= */