1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00

r19463: Make it clear what argument is incorrect

Andrew Bartlett
(This used to be commit a28a17c508)
This commit is contained in:
Andrew Bartlett 2006-10-23 06:05:41 +00:00 committed by Gerald (Jerry) Carter
parent 614e52764e
commit 5bfc0d6317

View File

@ -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;