summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2011-06-09 14:24:03 +0200
committerStefan Metzmacher <metze@samba.org>2011-06-09 14:46:22 +0200
commite3396cffecafe7ece91bed2185ed89bf8df12d79 (patch)
tree1ebdfc56cfa91f5197b5b01c9981db4a9ef19f48 /source3
parentb36e5ae8381d20997227b988556ac9f3a14fef4c (diff)
downloadsamba-e3396cffecafe7ece91bed2185ed89bf8df12d79.tar.gz
samba-e3396cffecafe7ece91bed2185ed89bf8df12d79.tar.bz2
samba-e3396cffecafe7ece91bed2185ed89bf8df12d79.zip
s3:lib/util: use %llu consitently (instead of %d) in interpret_pid() to parse the pid
metze
Diffstat (limited to 'source3')
-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 {