The branch, v3-5-test has been updated via 7d5575f... s3-net: fix net ads dns usage calls. from bb4a765... s3-rpcclient: fix uninitialized variable in wkssvc_enumerateusers.
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-5-test - Log ----------------------------------------------------------------- commit 7d5575fefe29a00c757dab0013c9d45b84f0be47 Author: Günther Deschner <g...@samba.org> Date: Mon Feb 8 11:53:59 2010 +0100 s3-net: fix net ads dns usage calls. Bjoern, please check. Guenther Fix bug #7181 (buildwarnings in net_ads.c). ----------------------------------------------------------------------- Summary of changes: source3/utils/net_ads.c | 11 ++++++++--- 1 files changed, 8 insertions(+), 3 deletions(-) Changeset truncated at 500 lines: diff --git a/source3/utils/net_ads.c b/source3/utils/net_ads.c index eff664f..3cd4fd8 100644 --- a/source3/utils/net_ads.c +++ b/source3/utils/net_ads.c @@ -1432,9 +1432,11 @@ static int net_ads_dns_register(struct net_context *c, int argc, const char **ar #endif if (argc > 0 || c->display_usage) { - d_printf(_("Usage:\n"), + d_printf( "%s\n" "net ads dns register\n" - " ", _("Register hostname with DNS\n")); + " %s\n", + _("Usage:"), + _("Register hostname with DNS\n")); return -1; } @@ -1484,7 +1486,10 @@ static int net_ads_dns_gethostbyname(struct net_context *c, int argc, const char #endif if (argc != 2 || c->display_usage) { - d_printf(_("Usage:\n"), + d_printf( "%s\n" + " %s\n" + " %s\n", + _("Usage:"), _("net ads dns gethostbyname <server> <name>\n"), _(" Look up hostname from the AD\n" " server\tName server to use\n" -- Samba Shared Repository