summaryrefslogtreecommitdiff
path: root/source4/lib/policy
diff options
context:
space:
mode:
authorMatthias Dieter Wallnöfer <mdw@samba.org>2010-06-20 20:34:48 +0200
committerMatthias Dieter Wallnöfer <mdw@samba.org>2010-06-20 20:34:48 +0200
commit58715dd3652ba53fa85cb5457be5d8c607b3d798 (patch)
treef29802e51cf07ac7c8001c60639e1ed5ca9f4341 /source4/lib/policy
parent26bcbf6e3542fb350045888473a6e25d661ff6fa (diff)
downloadsamba-58715dd3652ba53fa85cb5457be5d8c607b3d798.tar.gz
samba-58715dd3652ba53fa85cb5457be5d8c607b3d798.tar.bz2
samba-58715dd3652ba53fa85cb5457be5d8c607b3d798.zip
s4:libpolicy - fix printf output specifiers to suppress warning
Diffstat (limited to 'source4/lib/policy')
-rw-r--r--source4/lib/policy/gp_filesys.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/policy/gp_filesys.c b/source4/lib/policy/gp_filesys.c
index 51bdbfd2d6..b932ee5bff 100644
--- a/source4/lib/policy/gp_filesys.c
+++ b/source4/lib/policy/gp_filesys.c
@@ -254,7 +254,7 @@ static NTSTATUS gp_get_file (struct smbcli_tree *tree, const char *remote_src,
/* Bytes read should match the file size, or the copy was incomplete */
if (nread != file_size) {
DEBUG(0, ("Remote/local file size mismatch after copying file: "
- "%s (remote %ld, local %ld).\n",
+ "%s (remote %zu, local %zu).\n",
remote_src, file_size, nread));
talloc_free(buf);
return NT_STATUS_UNSUCCESSFUL;