summaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authormarkm <markm@FreeBSD.org>2001-05-16 11:05:03 +0000
committermarkm <markm@FreeBSD.org>2001-05-16 11:05:03 +0000
commit9b4ed0610861a1a16a5524f77a89616a9f7a7a1f (patch)
tree69431c8d4edf077d50f14999b39d3f364c9ba941 /contrib
parent68e6f85ec2b0ab302e2416b2300698dfa2836ca2 (diff)
downloadFreeBSD-src-9b4ed0610861a1a16a5524f77a89616a9f7a7a1f.zip
FreeBSD-src-9b4ed0610861a1a16a5524f77a89616a9f7a7a1f.tar.gz
Fix problem with static linking:
> Script started on Sat May 12 22:18:47 2001 > ttyp1:bde@gamplex:/usr/src/libexec/rshd> rsh localhost ls > rcmd: localhost: Undefined error: 0 Reported by: bde
Diffstat (limited to 'contrib')
-rw-r--r--contrib/libpam/libpam/pam_static.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/libpam/libpam/pam_static.c b/contrib/libpam/libpam/pam_static.c
index 8073833..aac3e99 100644
--- a/contrib/libpam/libpam/pam_static.c
+++ b/contrib/libpam/libpam/pam_static.c
@@ -29,7 +29,7 @@ struct pam_module * _pam_open_static_handler(const char *path)
if (strchr(clpath, '/')) {
/* ignore path and leading "/" */
- clpath = strrchr(lpath, '/') + 1;
+ clpath = strrchr(clpath, '/') + 1;
}
/* create copy to muck with (must free before return) */
lpath = _pam_strdup(clpath);
OpenPOWER on IntegriCloud