1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-26 10:04:02 +03:00

oops; fix typo. Noticed by gcc warning

(This used to be commit 4c36ef65e5101899f730adaeacf754f5f3647d89)
This commit is contained in:
Gerald Carter 2003-08-06 00:06:37 +00:00
parent 055b7df499
commit 269bcd91a3

View File

@ -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);