summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2001-02-13 07:17:26 +0000
committerGerald Carter <jerry@samba.org>2001-02-13 07:17:26 +0000
commitc816ab8522498d96b5d67d988d820110b452eee3 (patch)
treef7a4292c9689fc98ce2955200b87c175a205a735
parent668e5afc82b5ca4e0a9d5f7c7086f44385fc00ad (diff)
downloadsamba-c816ab8522498d96b5d67d988d820110b452eee3.tar.gz
samba-c816ab8522498d96b5d67d988d820110b452eee3.tar.xz
samba-c816ab8522498d96b5d67d988d820110b452eee3.zip
merge from HEAD
-rw-r--r--source/lib/system.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/lib/system.c b/source/lib/system.c
index 48a8a3f687f..5557aa8735d 100644
--- a/source/lib/system.c
+++ b/source/lib/system.c
@@ -595,13 +595,13 @@ static struct passwd *setup_pwret(struct passwd *pass)
if (pass->pw_name)
{
pw_ret.pw_name = pw_name;
- pstrcpy(pw_ret.pw_name, pass->pw_name);
+ fstrcpy(pw_ret.pw_name, pass->pw_name);
}
if (pass->pw_passwd)
{
pw_ret.pw_passwd = pw_passwd;
- pstrcpy(pw_ret.pw_passwd, pass->pw_passwd);
+ fstrcpy(pw_ret.pw_passwd, pass->pw_passwd);
}
return &pw_ret;