diff options
author | Sergei Golubchik <serg@mariadb.org> | 2017-05-20 12:32:10 +0200 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2017-05-24 11:59:03 +0200 |
commit | 54caaf684801c332a7130d478023aa7706a69aa1 (patch) | |
tree | d957f254220b7c6b50ea14223e2322a628978040 /plugin | |
parent | 7e0f40b33342135ed3e203314696dd75c1558be0 (diff) | |
download | mariadb-git-54caaf684801c332a7130d478023aa7706a69aa1.tar.gz |
MDEV-10940 plugins.pam still fails in buildbot with valgrind
fixed valgrind warning in a debug output
Diffstat (limited to 'plugin')
-rw-r--r-- | plugin/auth_pam/auth_pam.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/auth_pam/auth_pam.c b/plugin/auth_pam/auth_pam.c index 95d95b9719c..ffc3d6f5537 100644 --- a/plugin/auth_pam/auth_pam.c +++ b/plugin/auth_pam/auth_pam.c @@ -166,7 +166,7 @@ static int pam_auth(MYSQL_PLUGIN_VIO *vio, MYSQL_SERVER_AUTH_INFO *info) end: pam_end(pamh, status); - PAM_DEBUG((stderr, "PAM: status = %d user = %s\n", status, new_username)); + PAM_DEBUG((stderr, "PAM: status = %d user = %s\n", status, info->authenticated_as)); return status == PAM_SUCCESS ? CR_OK : CR_ERROR; } |