diff options
Diffstat (limited to 'source3/passdb/machine_sid.c')
-rw-r--r-- | source3/passdb/machine_sid.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/passdb/machine_sid.c b/source3/passdb/machine_sid.c index f714106b431..34b0c742087 100644 --- a/source3/passdb/machine_sid.c +++ b/source3/passdb/machine_sid.c @@ -70,7 +70,7 @@ BOOL pdb_generate_sam_sid(void) generate_wellknown_sids(); pstrcpy(sid_file, lp_smb_passwd_file()); - p = strrchr(sid_file, '/'); + p = strrchr_m(sid_file, '/'); if(p != NULL) { *++p = '\0'; } |