diff options
author | Marc-André Lureau <marcandre.lureau@redhat.com> | 2022-02-08 12:10:34 +0400 |
---|---|---|
committer | Simon McVittie <smcv@collabora.com> | 2022-07-15 16:26:17 +0100 |
commit | 31f7f7b07210a57fb94ca8349dc0472996692663 (patch) | |
tree | bf0244190ac2be3db59fb3d4f946b681dc80c2db | |
parent | 91c4e9052ad0bfb0cb8ca8fec605dcae34ea6888 (diff) | |
download | dbus-31f7f7b07210a57fb94ca8349dc0472996692663.tar.gz |
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 <marcandre.lureau@redhat.com>
-rw-r--r-- | dbus/dbus-sysdeps-unix.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dbus/dbus-sysdeps-unix.c b/dbus/dbus-sysdeps-unix.c index 24a4a242..a7856e77 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); } /** |