summaryrefslogtreecommitdiff
path: root/man/sd_bus_new.xml
diff options
context:
space:
mode:
Diffstat (limited to 'man/sd_bus_new.xml')
-rw-r--r--man/sd_bus_new.xml14
1 files changed, 7 insertions, 7 deletions
diff --git a/man/sd_bus_new.xml b/man/sd_bus_new.xml
index 5180ae7815..59117676fd 100644
--- a/man/sd_bus_new.xml
+++ b/man/sd_bus_new.xml
@@ -96,13 +96,13 @@
block is left:</para>
<programlisting>{
- __attribute__((cleanup(sd_bus_unrefp)) sd_bus *bus = NULL;
- int r;
- …
- r = sd_bus_default(&amp;bus);
- if (r &lt; 0)
- fprintf(stderr, "Failed to allocate bus: %s\n", strerror(-r));
- …
+ __attribute__((cleanup(sd_bus_unrefp)) sd_bus *bus = NULL;
+ int r;
+ …
+ r = sd_bus_default(&amp;bus);
+ if (r &lt; 0)
+ fprintf(stderr, "Failed to allocate bus: %s\n", strerror(-r));
+ …
}</programlisting>
<para><function>sd_bus_ref()</function> and <function>sd_bus_unref()</function>