summaryrefslogtreecommitdiff
path: root/source3/utils/smbcontrol.c
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2004-01-06 01:20:01 +0000
committerAndrew Bartlett <abartlet@samba.org>2004-01-06 01:20:01 +0000
commit35f843a1be9a703328eee3241bc24416cca945e0 (patch)
treeb18b2341122587d5aaeb31962b5f4ddce674882a /source3/utils/smbcontrol.c
parent870105d74fe814ae839ee4962d00381e78fbef20 (diff)
downloadsamba-35f843a1be9a703328eee3241bc24416cca945e0.tar.gz
samba-35f843a1be9a703328eee3241bc24416cca945e0.tar.bz2
samba-35f843a1be9a703328eee3241bc24416cca945e0.zip
(merge from 3.0)
I think this was tpot's originally: Fix format types for 64 bit systems. Andrew Bartlett (This used to be commit 256b2da7c96e8313f4f98ce700fc7634eaccb72b)
Diffstat (limited to 'source3/utils/smbcontrol.c')
-rw-r--r--source3/utils/smbcontrol.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/utils/smbcontrol.c b/source3/utils/smbcontrol.c
index 190627e2a5..eae1f97b58 100644
--- a/source3/utils/smbcontrol.c
+++ b/source3/utils/smbcontrol.c
@@ -203,7 +203,8 @@ static void profilelevel_cb(int msg_type, pid_t pid, void *buf, size_t len)
num_replies++;
if (len != sizeof(int)) {
- fprintf(stderr, "invalid message length %d returned\n", len);
+ fprintf(stderr, "invalid message length %ld returned\n",
+ (unsigned long)len);
return;
}