diff options
-rw-r--r-- | src/responder/pam/pamsrv_cmd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/responder/pam/pamsrv_cmd.c b/src/responder/pam/pamsrv_cmd.c index 31040787..92cd7340 100644 --- a/src/responder/pam/pamsrv_cmd.c +++ b/src/responder/pam/pamsrv_cmd.c @@ -387,7 +387,7 @@ static errno_t write_selinux_string(const char *username, char *string) } tmp_path = talloc_asprintf(tmp_ctx, "%sXXXXXX", path); - if (path == NULL) { + if (tmp_path == NULL) { ret = ENOMEM; goto done; } |