diff options
author | Jakub Hrozek <jhrozek@redhat.com> | 2012-03-22 17:17:12 +0100 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2012-03-26 20:17:34 -0400 |
commit | 1e46d25741ef548342ba5b566ae21810073abffd (patch) | |
tree | 132db3fa61d29adef9648453c941f37232c90ba0 /src | |
parent | 4978a8ea110bc95df31caea5b96e930a2292af4c (diff) | |
download | sssd-1e46d25741ef548342ba5b566ae21810073abffd.tar.gz sssd-1e46d25741ef548342ba5b566ae21810073abffd.tar.xz sssd-1e46d25741ef548342ba5b566ae21810073abffd.zip |
AUTOFS: fix copy-and-paste bug in the autofs client
Diffstat (limited to 'src')
-rw-r--r-- | src/sss_client/autofs/sss_autofs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sss_client/autofs/sss_autofs.c b/src/sss_client/autofs/sss_autofs.c index 631e88a45..e1810466b 100644 --- a/src/sss_client/autofs/sss_autofs.c +++ b/src/sss_client/autofs/sss_autofs.c @@ -373,7 +373,7 @@ _sss_getautomntbyname_r(const char *key, char **value, void *context) goto out; } - ret = sss_strnlen(ctx->mapname, MAX_AUTOMNTKEYNAME_LEN, &key_len); + ret = sss_strnlen(key, MAX_AUTOMNTKEYNAME_LEN, &key_len); if (ret != 0) { ret = EINVAL; goto out; |