summaryrefslogtreecommitdiff
path: root/source4/torture/unix
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2007-08-23 02:10:17 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 15:02:27 -0500
commitdfa4e5f78440e375a9c47eab913c5980c1aa640b (patch)
tree496a2c84d63e79db71181f9383177ca82b322588 /source4/torture/unix
parent32ce9de932c3f08b728bd9c743c70d702dc68a88 (diff)
downloadsamba-dfa4e5f78440e375a9c47eab913c5980c1aa640b.tar.gz
r24631: Fix up format warnings, found on my Fedora 7 x86_64 workstation.
Andrew Bartlett (This used to be commit 3d74d178bfd89127ff387939e848b240e638cc35)
Diffstat (limited to 'source4/torture/unix')
-rw-r--r--source4/torture/unix/whoami.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/torture/unix/whoami.c b/source4/torture/unix/whoami.c
index 28e220d3635..8322e57bd1f 100644
--- a/source4/torture/unix/whoami.c
+++ b/source4/torture/unix/whoami.c
@@ -185,8 +185,8 @@ static BOOL smb_raw_query_posix_whoami(void *mem_ctx,
printf("\tmapping_flags=0x%08x mapping_mask=0x%08x\n",
whoami->mapping_flags, whoami->mapping_mask);
- printf("\tserver UID=%lld GID=%lld\n",
- whoami->server_uid, whoami->server_gid);
+ printf("\tserver UID=%llu GID=%llu\n",
+ (unsigned long long)whoami->server_uid, (unsigned long long)whoami->server_gid);
printf("\t%u GIDs, %u SIDs, %u SID bytes\n",
whoami->num_gids, whoami->num_sids,
whoami->num_sid_bytes);