diff options
Diffstat (limited to 'libbb')
-rw-r--r-- | libbb/correct_password.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libbb/correct_password.c b/libbb/correct_password.c index f0b9384..f47642f 100644 --- a/libbb/correct_password.c +++ b/libbb/correct_password.c @@ -59,7 +59,7 @@ int correct_password(const struct passwd *pw) /* getspnam_r may return 0 yet set result to NULL. * At least glibc 2.4 does this. Be extra paranoid here. */ struct spwd *result = NULL; - int r = getspnam_r(pw->pw_name, &spw, buffer, sizeof(buffer), &result); + r = getspnam_r(pw->pw_name, &spw, buffer, sizeof(buffer), &result); correct = (r || !result) ? "aa" : result->sp_pwdp; } #endif |