summaryrefslogtreecommitdiffstats
path: root/dbus/dbus-sysdeps-util-unix.c
diff options
context:
space:
mode:
authorRalf Habacker <ralf.habacker@freenet.de>2007-03-10 09:10:36 +0000
committerRalf Habacker <ralf.habacker@freenet.de>2007-03-10 09:10:36 +0000
commit47e318a6e1893069e1326945ce1af25ddf8201d1 (patch)
treeaae5bbc914c095d75ce7c40712d89ac847002e00 /dbus/dbus-sysdeps-util-unix.c
parentf3fd4d60ad5de9f0c6576f6e100f944792fed255 (diff)
* bus/bus.c, bus/bus.h, bus/main.c, bus/test.c, dbus/dbus-sysdeps-unix.c, dbus/dbus-sysdeps-util-unix.c, dbus/dbus-sysdeps-util-win.c, bus/dbus-sysdeps-win.c,dbus/dbus-sysdeps.h: renamed _dbus_xxx_pipe to _dbus_pipe_xxx, completed _dbus_pipe support.
Diffstat (limited to 'dbus/dbus-sysdeps-util-unix.c')
-rw-r--r--dbus/dbus-sysdeps-util-unix.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/dbus/dbus-sysdeps-util-unix.c b/dbus/dbus-sysdeps-util-unix.c
index f57b7807..f1ed1056 100644
--- a/dbus/dbus-sysdeps-util-unix.c
+++ b/dbus/dbus-sysdeps-util-unix.c
@@ -67,7 +67,7 @@
*/
dbus_bool_t
_dbus_become_daemon (const DBusString *pidfile,
- int print_pid_fd,
+ DBusPipe print_pid_fd,
DBusError *error)
{
const char *s;
@@ -157,7 +157,7 @@ _dbus_become_daemon (const DBusString *pidfile,
}
bytes = _dbus_string_get_length (&pid);
- if (_dbus_write_socket (print_pid_fd, &pid, 0, bytes) != bytes)
+ if (_dbus_pipe_write (print_pid_fd, &pid, 0, bytes) != bytes)
{
dbus_set_error (error, DBUS_ERROR_FAILED,
"Printing message bus PID: %s\n",