The Samba-Bugzilla – Attachment 5422 Details for
Bug 7181
buildwarnings in net_ads.c
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch that has been pushed into master
net_ads.patch (text/plain), 1.26 KB, created by
Guenther Deschner
on 2010-02-25 12:22:33 UTC
(
hide
)
Description:
patch that has been pushed into master
Filename:
MIME Type:
Creator:
Guenther Deschner
Created:
2010-02-25 12:22:33 UTC
Size:
1.26 KB
patch
obsolete
>From 89c089d9934d233a6753d0536c900a2f264fc03d Mon Sep 17 00:00:00 2001 >From: =?UTF-8?q?G=C3=BCnther=20Deschner?= <gd@samba.org> >Date: Mon, 8 Feb 2010 11:53:59 +0100 >Subject: [PATCH] s3-net: fix net ads dns usage calls. > >Bjoern, please check. > >Guenther >--- > source3/utils/net_ads.c | 11 ++++++++--- > 1 files changed, 8 insertions(+), 3 deletions(-) > >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" >-- >1.6.6 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Flags:
bjacke
:
review+
Actions:
View
Attachments on
bug 7181
: 5422