summaryrefslogtreecommitdiff
path: root/source4/utils
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2006-10-23 06:05:41 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:21:36 -0500
commit5bfc0d63170521ad8d451ffcfbb30ee5b140dfbb (patch)
treee067500cd2981c99957f29e92fc99c7c06cc4db6 /source4/utils
parent614e52764e2630656d6bf85da873b48458f73e95 (diff)
downloadsamba-5bfc0d63170521ad8d451ffcfbb30ee5b140dfbb.tar.gz
samba-5bfc0d63170521ad8d451ffcfbb30ee5b140dfbb.tar.bz2
samba-5bfc0d63170521ad8d451ffcfbb30ee5b140dfbb.zip
r19463: Make it clear what argument is incorrect
Andrew Bartlett (This used to be commit a28a17c50853ccd4d7b2122497d3d18f0a6feed9)
Diffstat (limited to 'source4/utils')
-rw-r--r--source4/utils/net/net_join.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/utils/net/net_join.c b/source4/utils/net/net_join.c
index 2df57e63cc..0495e9850f 100644
--- a/source4/utils/net/net_join.c
+++ b/source4/utils/net/net_join.c
@@ -47,7 +47,7 @@ int net_join(struct net_context *ctx, int argc, const char **argv)
} 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;