git.samba.org
/
sfrench
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b36e5ae
)
s3:lib/util: use %llu consitently (instead of %d) in interpret_pid() to parse the pid
author
Stefan Metzmacher
<metze@samba.org>
Thu, 9 Jun 2011 12:24:03 +0000
(14:24 +0200)
committer
Stefan Metzmacher
<metze@samba.org>
Thu, 9 Jun 2011 12:46:22 +0000
(14:46 +0200)
metze
source3/lib/util.c
patch
|
blob
|
history
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;
- } 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 {