summaryrefslogtreecommitdiff
path: root/source3/utils
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2012-08-16 07:47:57 +1000
committerAndrew Bartlett <abartlet@samba.org>2012-08-16 07:48:06 +1000
commit08baa11ab869551f61dc7a7d363587b70582ffeb (patch)
tree4fa37cef0bf8fdc678e1f09422f460835e793829 /source3/utils
parent31980cf5cb9fd6238d1ed096e885410e85d5ac00 (diff)
downloadsamba-08baa11ab869551f61dc7a7d363587b70582ffeb.tar.gz
samba-08baa11ab869551f61dc7a7d363587b70582ffeb.tar.bz2
samba-08baa11ab869551f61dc7a7d363587b70582ffeb.zip
fix printf warning in net connections
Diffstat (limited to 'source3/utils')
-rw-r--r--source3/utils/net_connections.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/utils/net_connections.c b/source3/utils/net_connections.c
index 6864814b8c..b713ed9c06 100644
--- a/source3/utils/net_connections.c
+++ b/source3/utils/net_connections.c
@@ -46,8 +46,8 @@ struct cclean_ctx {
static char *serverid_str(const struct server_id id)
{
- return talloc_asprintf(talloc_tos(), "pid %u, vnn %u, uid %lu",
- (unsigned)id.pid, (unsigned)id.vnn, id.unique_id);
+ return talloc_asprintf(talloc_tos(), "pid %u, vnn %u, uid %llu",
+ (unsigned)id.pid, (unsigned)id.vnn, (unsigned long long)id.unique_id);
}
static void print_record(const char *msg,