diff options
author | Gerald Carter <jerry@samba.org> | 2003-08-06 00:06:37 +0000 |
---|---|---|
committer | Gerald Carter <jerry@samba.org> | 2003-08-06 00:06:37 +0000 |
commit | 269bcd91a37a9a53c5b83447ba68baca6aecda77 (patch) | |
tree | 58363ce78791b9246c5ca99ba600fc6f8a50dfb1 /source3/passdb | |
parent | 055b7df499b157669899893366d85f1b6cf1bb06 (diff) | |
download | samba-269bcd91a37a9a53c5b83447ba68baca6aecda77.tar.gz samba-269bcd91a37a9a53c5b83447ba68baca6aecda77.tar.bz2 samba-269bcd91a37a9a53c5b83447ba68baca6aecda77.zip |
oops; fix typo. Noticed by gcc warning
(This used to be commit 4c36ef65e5101899f730adaeacf754f5f3647d89)
Diffstat (limited to 'source3/passdb')
-rw-r--r-- | source3/passdb/passdb.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/passdb/passdb.c b/source3/passdb/passdb.c index 9f7b44f4e1..8871cd7832 100644 --- a/source3/passdb/passdb.c +++ b/source3/passdb/passdb.c @@ -769,7 +769,7 @@ BOOL local_lookup_sid(DOM_SID *sid, char *name, enum SID_NAME_USE *psid_name_use pw ? "succeeded" : "failed" )); if ( !pw ) - slprintf(name, "unix_user.%u", (unsigned int)uid); + fstr_sprintf(name, "unix_user.%u", (unsigned int)uid); else fstrcpy( name, pw->pw_name ); @@ -792,7 +792,7 @@ BOOL local_lookup_sid(DOM_SID *sid, char *name, enum SID_NAME_USE *psid_name_use gr ? "succeeded" : "failed" )); if( !gr ) - slprintf(name, sizeof(fstring)-1, "unix_group.%u", (unsigned int)gid); + fstr_sprintf(name, "unix_group.%u", (unsigned int)gid); else fstrcpy( name, gr->gr_name); |