summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2013-03-14 20:36:34 +1100
committerJeremy Allison <jra@samba.org>2013-03-15 10:38:40 -0700
commitbf7da085b125ca9b18bdca22e05a9a6613771e3d (patch)
treed0d9b37693d434509dc1b5f77b874d23e7352709 /source3/lib
parent21f18d0205bc7aca4166e8436083c16540f95781 (diff)
downloadsamba-bf7da085b125ca9b18bdca22e05a9a6613771e3d.tar.gz
samba-bf7da085b125ca9b18bdca22e05a9a6613771e3d.tar.bz2
samba-bf7da085b125ca9b18bdca22e05a9a6613771e3d.zip
s3-lib/server_prefork: Cast pid_t result to unsigned int for GNU/Solaris build
Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/server_prefork.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/server_prefork.c b/source3/lib/server_prefork.c
index 49d1778085..c725607e95 100644
--- a/source3/lib/server_prefork.c
+++ b/source3/lib/server_prefork.c
@@ -277,7 +277,7 @@ int prefork_retire_children(struct messaging_context *msg_ctx,
(pfp->pool[i].num_clients < 1)) &&
(pfp->pool[i].started <= age_limit)) {
/* tell the child it's time to give up */
- DEBUG(5, ("Retiring pid %d!\n", pfp->pool[i].pid));
+ DEBUG(5, ("Retiring pid %u!\n", (unsigned int)pfp->pool[i].pid));
pfp->pool[i].cmds = PF_SRV_MSG_EXIT;
messaging_send(msg_ctx,
pid_to_procid(pfp->pool[i].pid),