summaryrefslogtreecommitdiff
path: root/source3/passdb/machine_sid.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/passdb/machine_sid.c')
-rw-r--r--source3/passdb/machine_sid.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/passdb/machine_sid.c b/source3/passdb/machine_sid.c
index f714106b43..34b0c74208 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';
}