diff options
author | Jakub Hrozek <jhrozek@redhat.com> | 2012-08-01 18:11:22 +0200 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2012-08-01 21:13:07 +0200 |
commit | 39b20025db12d88cd564666b3de0dbe0ce09ff2c (patch) | |
tree | 0d1da76658476fec75a25647bfa86b1f5d846458 /src/responder/pam | |
parent | e0c977418f90260aa66cce41b1f8f294660ed734 (diff) | |
download | sssd-39b20025db12d88cd564666b3de0dbe0ce09ff2c.tar.gz sssd-39b20025db12d88cd564666b3de0dbe0ce09ff2c.tar.bz2 sssd-39b20025db12d88cd564666b3de0dbe0ce09ff2c.zip |
Fix bad check
Diffstat (limited to 'src/responder/pam')
-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; } |