From e3396cffecafe7ece91bed2185ed89bf8df12d79 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Thu, 9 Jun 2011 14:24:03 +0200 Subject: s3:lib/util: use %llu consitently (instead of %d) in interpret_pid() to parse the pid metze --- source3/lib/util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3') 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 { -- cgit