From 3a9259d93ca8c9556a25b771e9493c8812f72f9c Mon Sep 17 00:00:00 2001 From: =?utf8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Thu, 4 Apr 2024 12:17:43 +0200 Subject: [PATCH] man: align strings in sd_notify() examples I think this way it's easier to see that they are part of the same argument. --- man/sd_notify.xml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/man/sd_notify.xml b/man/sd_notify.xml index 22b351cad31..e1c4073e7fc 100644 --- a/man/sd_notify.xml +++ b/man/sd_notify.xml @@ -533,8 +533,8 @@ sd_notifyf(0, "READY=1\n" - "STATUS=Processing requests…\n" - "MAINPID=%lu", + "STATUS=Processing requests…\n" + "MAINPID=%lu", (unsigned long) getpid()); @@ -545,7 +545,7 @@ sd_notifyf(0, "READY=1\n" sd_notifyf(0, "STATUS=Failed to start up: %s\n" - "ERRNO=%i", + "ERRNO=%i", strerror_r(errnum, (char[1024]){}, 1024), errnum); -- 2.47.3