summaryrefslogtreecommitdiff
path: root/source3/rpcclient/samsync.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/rpcclient/samsync.c')
-rw-r--r--source3/rpcclient/samsync.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/rpcclient/samsync.c b/source3/rpcclient/samsync.c
index d09ae775ec..14f7ed8953 100644
--- a/source3/rpcclient/samsync.c
+++ b/source3/rpcclient/samsync.c
@@ -611,7 +611,7 @@ static struct cli_state *init_connection(struct cli_state *cli,
result = sam_repl(&cli, trust_passwd, low_serial);
if (!NT_STATUS_IS_OK(result)) {
- DEBUG(0, ("%s\n", get_nt_error_msg(result)));
+ DEBUG(0, ("%s\n", nt_errstr(result)));
return 1;
}