summaryrefslogtreecommitdiff
path: root/source3/lib/module.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/lib/module.c')
-rw-r--r--source3/lib/module.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/module.c b/source3/lib/module.c
index e400945a8b..700de56953 100644
--- a/source3/lib/module.c
+++ b/source3/lib/module.c
@@ -132,7 +132,7 @@ void module_path_get_name(char *path, pstring name)
char *s;
/* First, make the path relative */
- s = strrchr_m(path, '/');
+ s = strrchr(path, '/');
if(s) pstrcpy(name, s+1);
else pstrcpy(name, path);