summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/lib/util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/util.c b/source3/lib/util.c
index 51ad7bd3bd..d04887c854 100644
--- a/source3/lib/util.c
+++ b/source3/lib/util.c
@@ -2003,7 +2003,7 @@ struct server_id interpret_pid(const char *pid_string)
result.vnn = get_my_vnn();
result.pid = pid;
result.task_id = task_id;
- } else if (sscanf(pid_string, "%d", &pid) == 1) {
+ } else if (sscanf(pid_string, "%llu", &pid) == 1) {
result.vnn = get_my_vnn();
result.pid = pid;
} else {