summaryrefslogtreecommitdiff
path: root/source3/rpcclient/rpcclient.c
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2002-03-17 04:36:35 +0000
committerTim Potter <tpot@samba.org>2002-03-17 04:36:35 +0000
commitab13654dc9ac23872e4d1384e1c54e336f113009 (patch)
treece8b9a4b295bc256395b709b068eeb512c4936fb /source3/rpcclient/rpcclient.c
parent0bb16f1d01a911aafe585fc558fbc473eddc4065 (diff)
downloadsamba-ab13654dc9ac23872e4d1384e1c54e336f113009.tar.gz
samba-ab13654dc9ac23872e4d1384e1c54e336f113009.tar.bz2
samba-ab13654dc9ac23872e4d1384e1c54e336f113009.zip
Renamed get_nt_error_msg() to nt_errstr().
(This used to be commit 1f007d3ed41c1b71a89fa6be7d173e67e927c302)
Diffstat (limited to 'source3/rpcclient/rpcclient.c')
-rw-r--r--source3/rpcclient/rpcclient.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/rpcclient/rpcclient.c b/source3/rpcclient/rpcclient.c
index 38242648aa..3c8ede6966 100644
--- a/source3/rpcclient/rpcclient.c
+++ b/source3/rpcclient/rpcclient.c
@@ -234,7 +234,7 @@ void fetch_machine_sid(struct cli_state *cli)
fprintf(stderr, "could not obtain sid for domain %s\n", cli->domain);
if (!NT_STATUS_IS_OK(result)) {
- fprintf(stderr, "error: %s\n", get_nt_error_msg(result));
+ fprintf(stderr, "error: %s\n", nt_errstr(result));
}
exit(1);
@@ -521,7 +521,7 @@ static NTSTATUS process_cmd(struct cli_state *cli, char *cmd)
}
if (!NT_STATUS_IS_OK(result)) {
- printf("result was %s\n", get_nt_error_msg(result));
+ printf("result was %s\n", nt_errstr(result));
}
return result;
@@ -711,7 +711,7 @@ static void usage(void)
password, strlen(password));
if (!NT_STATUS_IS_OK(nt_status)) {
- DEBUG(1,("Cannot connect to server. Error was %s\n", get_nt_error_msg(nt_status)));
+ DEBUG(1,("Cannot connect to server. Error was %s\n", nt_errstr(nt_status)));
return 1;
}