diff options
author | Andrew Bartlett <abartlet@samba.org> | 2004-01-06 01:20:01 +0000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2004-01-06 01:20:01 +0000 |
commit | 35f843a1be9a703328eee3241bc24416cca945e0 (patch) | |
tree | b18b2341122587d5aaeb31962b5f4ddce674882a /source3/utils/smbfilter.c | |
parent | 870105d74fe814ae839ee4962d00381e78fbef20 (diff) | |
download | samba-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/smbfilter.c')
-rw-r--r-- | source3/utils/smbfilter.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/utils/smbfilter.c b/source3/utils/smbfilter.c index 1a0d639f02..5d67c8fc7c 100644 --- a/source3/utils/smbfilter.c +++ b/source3/utils/smbfilter.c @@ -47,7 +47,7 @@ static void save_file(const char *fname, void *packet, size_t length) return; } close(fd); - printf("Wrote %d bytes to %s\n", length, fname); + printf("Wrote %ld bytes to %s\n", (unsigned long)length, fname); } static void filter_reply(char *buf) |