diff options
author | Stefan Metzmacher <metze@samba.org> | 2011-06-09 14:24:03 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2011-06-09 14:46:22 +0200 |
commit | e3396cffecafe7ece91bed2185ed89bf8df12d79 (patch) | |
tree | 1ebdfc56cfa91f5197b5b01c9981db4a9ef19f48 /source3 | |
parent | b36e5ae8381d20997227b988556ac9f3a14fef4c (diff) | |
download | samba-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.c | 2 |
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 { |