Skip to content

Commit

Permalink
MDEV-10940 plugins.pam still fails in buildbot with valgrind
Browse files Browse the repository at this point in the history
fixed valgrind warning in a debug output
  • Loading branch information
vuvova committed May 24, 2017
1 parent 7e0f40b commit 54caaf6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugin/auth_pam/auth_pam.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 54caaf6

Please sign in to comment.