summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugin/auth_socket/auth_socket.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/auth_socket/auth_socket.c b/plugin/auth_socket/auth_socket.c
index 5943ab13596..508cd1ecf5e 100644
--- a/plugin/auth_socket/auth_socket.c
+++ b/plugin/auth_socket/auth_socket.c
@@ -37,7 +37,7 @@
#elif defined HAVE_SOCKPEERCRED
#define level SOL_SOCKET
-#define ucred socketpeercred
+#define ucred sockpeercred
#elif defined HAVE_XUCRED
#include <sys/un.h>