From: Marc-André Lureau Date: Tue, 8 Feb 2022 08:10:34 +0000 (+0400) Subject: s/PF_UNIX/AF_UNIX X-Git-Tag: dbus-1.15.0~26^2~31 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=31f7f7b07210a57fb94ca8349dc0472996692663;p=thirdparty%2Fdbus.git s/PF_UNIX/AF_UNIX PF_UNIX is an old BSD 4.x relic, and even there they promise that PF_UNIX is the same as AF_UNIX. (Linux socket(2)) Signed-off-by: Marc-André Lureau --- diff --git a/dbus/dbus-sysdeps-unix.c b/dbus/dbus-sysdeps-unix.c index 24a4a2424..a7856e778 100644 --- a/dbus/dbus-sysdeps-unix.c +++ b/dbus/dbus-sysdeps-unix.c @@ -293,7 +293,7 @@ static dbus_bool_t _dbus_open_unix_socket (int *fd, DBusError *error) { - return _dbus_open_socket(fd, PF_UNIX, SOCK_STREAM, 0, error); + return _dbus_open_socket(fd, AF_UNIX, SOCK_STREAM, 0, error); } /**