From: Zbigniew Jędrzejewski-Szmek Date: Thu, 4 Apr 2024 10:17:43 +0000 (+0200) Subject: man: align strings in sd_notify() examples X-Git-Tag: v256-rc1~309^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3a9259d93ca8c9556a25b771e9493c8812f72f9c;p=thirdparty%2Fsystemd.git man: align strings in sd_notify() examples I think this way it's easier to see that they are part of the same argument. --- 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);