]> git.ipfire.org Git - thirdparty/dbus.git/commitdiff
* dbus/dbus-sysdeps-util-unix.c: Forgot to pass NULL as the second
authorJohn (J5) Palmieri <johnp@redhat.com>
Thu, 14 Sep 2006 05:41:20 +0000 (05:41 +0000)
committerJohn (J5) Palmieri <johnp@redhat.com>
Thu, 14 Sep 2006 05:41:20 +0000 (05:41 +0000)
  parameter to  _dbus_close

dbus/dbus-sysdeps-util-unix.c

index 6898acf5b909712a74c5c9e1625af78f6f50e58e..a99d338eb3c31ec1dc4307bd6b5e47ece6b52c22 100644 (file)
@@ -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;
     }