summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Golubchik <sergii@pisem.net>2014-10-02 11:58:13 +0200
committerSergei Golubchik <sergii@pisem.net>2014-10-02 11:58:13 +0200
commite90851008b9c8a84b642fc487eea09eecfbcec2c (patch)
tree20bba5548c1e154edfb33cea41adf30544f009a3
parentaa36d9e74225f6db32fa01a8e1a2a3a6e6a5b77f (diff)
downloadmariadb-git-e90851008b9c8a84b642fc487eea09eecfbcec2c.tar.gz
MDEV-6800 auth_socket plugin fails to build on OpenBSD with MariaDB 10.0.14
typo (thanks, Brad Smith!)
-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>