summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn (J5) Palmieri <johnp@redhat.com>2006-09-14 05:41:20 +0000
committerJohn (J5) Palmieri <johnp@redhat.com>2006-09-14 05:41:20 +0000
commitd8a9336da0b5895b748f42a9bb66a2c38ee8d97e (patch)
tree631a28496bf5c01e4f2642043b1b8d11193a1c12
parent1180691b35e226cdc49047a115d613e7caff5bc3 (diff)
* dbus/dbus-sysdeps-util-unix.c: Forgot to pass NULL as the second
parameter to _dbus_close
-rw-r--r--dbus/dbus-sysdeps-util-unix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dbus/dbus-sysdeps-util-unix.c b/dbus/dbus-sysdeps-util-unix.c
index 6898acf5..a99d338e 100644
--- a/dbus/dbus-sysdeps-util-unix.c
+++ b/dbus/dbus-sysdeps-util-unix.c
@@ -210,7 +210,7 @@ _dbus_write_pid_file (const DBusString *filename,
{
dbus_set_error (error, _dbus_error_from_errno (errno),
"Failed to fdopen fd %d: %s", fd, _dbus_strerror (errno));
- _dbus_close (fd);
+ _dbus_close (fd, NULL);
return FALSE;
}