summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/util_str.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/util_str.c b/source3/lib/util_str.c
index 2c0cae1d73..a758aece4c 100644
--- a/source3/lib/util_str.c
+++ b/source3/lib/util_str.c
@@ -1211,7 +1211,7 @@ char *strchr_m(const char *src, char c)
/* characters below 0x3F are guaranteed to not appear in
non-initial position in multi-byte charsets */
if ((c & 0xC0) == 0) {
- return strchr(s, c);
+ return strchr(src, c);
}
/* this is quite a common operation, so we want it to be