diff options
Diffstat (limited to 'source4')
-rw-r--r-- | source4/utils/net/net_join.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source4/utils/net/net_join.c b/source4/utils/net/net_join.c index 407de6e89d..9463b88dd7 100644 --- a/source4/utils/net/net_join.c +++ b/source4/utils/net/net_join.c @@ -46,7 +46,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 { - DEBUG(0, ("net_join: 2nd argument must be MEMBER or BDC\n")); + d_fprintf(stderr, "net_join: 2nd argument must be MEMBER or BDC\n"); return net_join_usage(ctx, argc, argv); } break; @@ -76,8 +76,8 @@ int net_join(struct net_context *ctx, int argc, const char **argv) status = libnet_Join(libnetctx, r, r); if (!NT_STATUS_IS_OK(status)) { - d_printf("Joining domain failed: %s\n", - r->out.error_string ? r->out.error_string : nt_errstr(status)); + d_fprintf(stderr, "Joining domain failed: %s\n", + r->out.error_string ? r->out.error_string : nt_errstr(status)); talloc_free(r); talloc_free(libnetctx); return -1; |