summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/util/debug.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/util/debug.c b/lib/util/debug.c
index a2cb4ab45d..84b197cf60 100644
--- a/lib/util/debug.c
+++ b/lib/util/debug.c
@@ -498,7 +498,7 @@ void setup_logging(const char *prog_name, enum debug_logtype new_logtype)
if (state.logtype == DEBUG_FILE) {
#ifdef WITH_SYSLOG
- const char *p = strrchr_m( prog_name,'/' );
+ const char *p = strrchr(prog_name, '/');
if (p)
prog_name = p + 1;
#ifdef LOG_DAEMON