summaryrefslogtreecommitdiff
path: root/source3/rpcclient/rpcclient.c
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2003-01-08 02:54:42 +0000
committerTim Potter <tpot@samba.org>2003-01-08 02:54:42 +0000
commit4315edcdca500e1ff36cd51a95bc6b6008256a38 (patch)
treec8c380f8fefec10c19e487ff47858806165c1b47 /source3/rpcclient/rpcclient.c
parentf420f7550872bbae4175faffd5a68c172113f7c2 (diff)
downloadsamba-4315edcdca500e1ff36cd51a95bc6b6008256a38.tar.gz
samba-4315edcdca500e1ff36cd51a95bc6b6008256a38.tar.bz2
samba-4315edcdca500e1ff36cd51a95bc6b6008256a38.zip
Display an error message when the server cannot be resolved when running at
debug level 0. (This used to be commit 451286febd251d25b8beeae9b41a09102240c219)
Diffstat (limited to 'source3/rpcclient/rpcclient.c')
-rw-r--r--source3/rpcclient/rpcclient.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/rpcclient/rpcclient.c b/source3/rpcclient/rpcclient.c
index 02fa91cf26..ad5b0218ab 100644
--- a/source3/rpcclient/rpcclient.c
+++ b/source3/rpcclient/rpcclient.c
@@ -700,7 +700,7 @@ static NTSTATUS process_cmd(struct cli_state *cli, char *cmd)
/* Resolve the IP address */
if (!opt_ipaddr && !resolve_name(server, &server_ip, 0x20)) {
- DEBUG(1,("Unable to resolve %s\n", server));
+ fprintf(stderr, "Unable to resolve %s\n", server);
return 1;
}