git.samba.org
/
jpeach
/
samba.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
port latest changes from SAMBA_3_0 tree
[jpeach/samba.git]
/
source
/
web
/
statuspage.c
diff --git
a/source/web/statuspage.c
b/source/web/statuspage.c
index 44461232b816a0dfce1b20f0bc35d9b7f8827fe0..c579e8f1123e1eca13c2b4519b72290574090eb6 100644
(file)
--- a/
source/web/statuspage.c
+++ b/
source/web/statuspage.c
@@
-93,7
+93,7
@@
static char *mapPid2Machine (pid_t pid)
}
/* PID not in list or machine name NULL? return pid as string */
- snprintf (pidbuf, sizeof (pidbuf) - 1, "%
d",
pid);
+ snprintf (pidbuf, sizeof (pidbuf) - 1, "%
lu", (unsigned long)
pid);
return pidbuf;
}