summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorSimon McVittie <simon.mcvittie@collabora.co.uk>2007-10-10 13:37:00 +0100
committerSimon McVittie <simon.mcvittie@collabora.co.uk>2007-10-11 10:17:17 +0100
commit35b00e3ab25d43c0b513e21a993ce063ea19cc18 (patch)
tree8db18e07ab0e5b98c4d491918ea0557d1c41ccd8 /tools
parentcc321d4ab3c38236aa7a5be6630ea471ca222d2b (diff)
dbus-launch: convert C++-style comment to C-style, add {} for clarity
Diffstat (limited to 'tools')
-rw-r--r--tools/dbus-launch.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/tools/dbus-launch.c b/tools/dbus-launch.c
index 80d885f4..9f4c94ab 100644
--- a/tools/dbus-launch.c
+++ b/tools/dbus-launch.c
@@ -614,8 +614,10 @@ do_close_stderr (void)
close (2);
if (dup2 (fd, 2) == -1)
- // error; we can't report an error anymore...
- exit (1);
+ {
+ /* error; we can't report an error anymore... */
+ exit (1);
+ }
close (fd);
}