mirror of
https://github.com/samba-team/samba.git
synced 2025-09-07 21:44:22 +03:00
s3:lib/util: use %llu consitently (instead of %d) in interpret_pid() to parse the pid
metze
This commit is contained in:
@@ -2003,7 +2003,7 @@ struct server_id interpret_pid(const char *pid_string)
|
|||||||
result.vnn = get_my_vnn();
|
result.vnn = get_my_vnn();
|
||||||
result.pid = pid;
|
result.pid = pid;
|
||||||
result.task_id = task_id;
|
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.vnn = get_my_vnn();
|
||||||
result.pid = pid;
|
result.pid = pid;
|
||||||
} else {
|
} else {
|
||||||
|
Reference in New Issue
Block a user