From c9bc4b27b71f6baaa9dde1722061f3d59d8554bc Mon Sep 17 00:00:00 2001 From: Tim Potter Date: Tue, 22 Jul 2003 06:52:39 +0000 Subject: Another round of uid/gid/pid format string changes I missed the first time. (This used to be commit 6616485dbad74dab7506609c6bfd183fc9c1f93c) --- source3/utils/net_idmap.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'source3/utils') diff --git a/source3/utils/net_idmap.c b/source3/utils/net_idmap.c index b7eb8e4c49..b035d8d2f1 100644 --- a/source3/utils/net_idmap.c +++ b/source3/utils/net_idmap.c @@ -118,9 +118,10 @@ static int net_idmap_restore(int argc, const char **argv) } if (!NT_STATUS_IS_OK(idmap_set_mapping(&sid, id, type))) { - d_printf("Could not set mapping of %s %d to sid %s\n", + d_printf("Could not set mapping of %s %lu to sid %s\n", (type == ID_GROUPID) ? "GID" : "UID", - (type == ID_GROUPID) ? id.gid : id.uid, + (type == ID_GROUPID) ? (unsigned long)id.gid: + (unsigned long)id.uid, sid_string_static(&sid)); continue; } -- cgit