projects
/
systemd
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4cbf560
)
man: align strings in sd_notify() examples
author
Zbigniew Jędrzejewski-Szmek
<zbyszek@in.waw.pl>
Thu, 4 Apr 2024 10:17:43 +0000
(12:17 +0200)
committer
Zbigniew Jędrzejewski-Szmek
<zbyszek@in.waw.pl>
Thu, 4 Apr 2024 12:41:56 +0000
(14:41 +0200)
I think this way it's easier to see that they are part of the same argument.
man/sd_notify.xml
patch
|
blob
|
history
diff --git
a/man/sd_notify.xml
b/man/sd_notify.xml
index 22b351cad31f5ce55914ddfa7f628b7a44049848..e1c4073e7fc3292e47b6d0c67f1df5a96ac6edfa 100644
(file)
--- a/
man/sd_notify.xml
+++ b/
man/sd_notify.xml
@@
-533,8
+533,8
@@
<programlisting>
sd_notifyf(0, "READY=1\n"
- "STATUS=Processing requests…\n"
- "MAINPID=%lu",
+
"STATUS=Processing requests…\n"
+
"MAINPID=%lu",
(unsigned long) getpid());</programlisting>
</example>
@@
-545,7
+545,7
@@
sd_notifyf(0, "READY=1\n"
<programlisting>
sd_notifyf(0, "STATUS=Failed to start up: %s\n"
- "ERRNO=%i",
+
"ERRNO=%i",
strerror_r(errnum, (char[1024]){}, 1024),
errnum);</programlisting>
</example>