summaryrefslogtreecommitdiff
path: root/source3/lib/util_file.c
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2003-07-24 23:46:27 +0000
committerTim Potter <tpot@samba.org>2003-07-24 23:46:27 +0000
commit77373f1f8e3b2f61e9bbcd9fadfb83257d390cf2 (patch)
tree868eab178760cb8f28489cde34e1328b3f9dfbca /source3/lib/util_file.c
parent60097e0d8d3db07eecf1773d74f8376ea4059b05 (diff)
downloadsamba-77373f1f8e3b2f61e9bbcd9fadfb83257d390cf2.tar.gz
samba-77373f1f8e3b2f61e9bbcd9fadfb83257d390cf2.tar.bz2
samba-77373f1f8e3b2f61e9bbcd9fadfb83257d390cf2.zip
More printf fixes - size_t is long on some architectures.
(This used to be commit ba4d334b822248d8ab929c9568533431603d967e)
Diffstat (limited to 'source3/lib/util_file.c')
-rw-r--r--source3/lib/util_file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/util_file.c b/source3/lib/util_file.c
index 02acbd4d7e..5e9732ce52 100644
--- a/source3/lib/util_file.c
+++ b/source3/lib/util_file.c
@@ -455,7 +455,7 @@ void *map_file(char *fname, size_t size)
p = file_load(fname, &s2);
if (!p) return NULL;
if (s2 != size) {
- DEBUG(1,("incorrect size for %s - got %d expected %d\n",
+ DEBUG(1,("incorrect size for %s - got %l expected %l\n",
fname, s2, size));
if (p) free(p);
return NULL;