git.samba.org
/
ira
/
wip.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
s3:lib/util: use %llu consitently (instead of %d) in interpret_pid() to parse the pid
[ira/wip.git]
/
source3
/
lib
/
util.c
diff --git
a/source3/lib/util.c
b/source3/lib/util.c
index 51ad7bd3bd966658dbdc83c9a0abc08e6c6437cd..d04887c854ceb231fe7b0037a3f1fd0c5a2272c5 100644
(file)
--- 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;
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 {
result.vnn = get_my_vnn();
result.pid = pid;
} else {