summaryrefslogtreecommitdiff
path: root/src/tools/sss_debuglevel.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/sss_debuglevel.c')
-rw-r--r--src/tools/sss_debuglevel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/sss_debuglevel.c b/src/tools/sss_debuglevel.c
index 45723ec2..38262dda 100644
--- a/src/tools/sss_debuglevel.c
+++ b/src/tools/sss_debuglevel.c
@@ -369,7 +369,7 @@ pid_t parse_pid(const char *strpid)
char *endptr;
errno = 0;
- value = strtol(strpid, &endptr, 0);
+ value = strtol(strpid, &endptr, 10);
if ((errno != 0) || (endptr == strpid)
|| ((*endptr != '\0') && (*endptr != '\n'))) {
return 0;