svn commit: samba r19463 - in branches/SAMBA_4_0/source/utils/net: .

abartlet at samba.org abartlet at samba.org
Mon Oct 23 06:05:41 GMT 2006


Author: abartlet
Date: 2006-10-23 06:05:41 +0000 (Mon, 23 Oct 2006)
New Revision: 19463

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=19463

Log:
Make it clear what argument is incorrect

Andrew Bartlett

Modified:
   branches/SAMBA_4_0/source/utils/net/net_join.c


Changeset:
Modified: branches/SAMBA_4_0/source/utils/net/net_join.c
===================================================================
--- branches/SAMBA_4_0/source/utils/net/net_join.c	2006-10-23 06:05:21 UTC (rev 19462)
+++ branches/SAMBA_4_0/source/utils/net/net_join.c	2006-10-23 06:05:41 UTC (rev 19463)
@@ -47,7 +47,7 @@
 			} else if (strcasecmp(argv[1], "MEMBER") == 0) {
 				secure_channel_type = SEC_CHAN_WKSTA;
 			} else {
-				d_fprintf(stderr, "net_join: 2nd argument must be MEMBER or BDC\n");
+				d_fprintf(stderr, "net_join: Invalid 2nd argument (%s) must be MEMBER or BDC\n", argv[1]);
 				return net_join_usage(ctx, argc, argv);
 			}
 			break;



More information about the samba-cvs mailing list