mirror of
https://github.com/systemd/systemd.git
synced 2025-02-25 21:57:32 +03:00
man: align strings in sd_notify() examples
I think this way it's easier to see that they are part of the same argument.
This commit is contained in:
parent
4cbf560edf
commit
3a9259d93c
@ -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>
|
||||
|
Loading…
x
Reference in New Issue
Block a user