From e244652831932ab9deed83d38dd3f6f1958b91ef Mon Sep 17 00:00:00 2001 From: Alexey Botchkov Date: Sat, 3 Aug 2019 01:02:32 +0400 Subject: MDEV-20246 Error compiling PAM plugin. Ignore the setreuid() return here. --- plugin/auth_pam/auth_pam_tool.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/auth_pam/auth_pam_tool.c b/plugin/auth_pam/auth_pam_tool.c index 3ab2e00c142..3947091ec4a 100644 --- a/plugin/auth_pam/auth_pam_tool.c +++ b/plugin/auth_pam/auth_pam_tool.c @@ -70,7 +70,7 @@ int main(int argc, char **argv) int res; char a_buf[MYSQL_USERNAME_LENGTH + 1 + 1024]; - setreuid(0, 0); + (void) setreuid(0, 0); if (read(0, &field, 1) < 1) return -1; -- cgit v1.2.1