summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2001-08-10 06:01:11 +0000
committerTim Potter <tpot@samba.org>2001-08-10 06:01:11 +0000
commit62f7f6a022dea6fd4fbe514dcb3154bda334a07f (patch)
tree6e0c5d170098d48f91a8176abafa9618364c8d42 /source3/lib
parent2ccfea3de7b2b7dc0be2438c3adb3f7be82a2dfc (diff)
downloadsamba-62f7f6a022dea6fd4fbe514dcb3154bda334a07f.tar.gz
samba-62f7f6a022dea6fd4fbe514dcb3154bda334a07f.tar.bz2
samba-62f7f6a022dea6fd4fbe514dcb3154bda334a07f.zip
Use the new client error api.
(This used to be commit 688da3c41dd944f7f69083518d25e9edbc55406f)
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/cmd_interp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/lib/cmd_interp.c b/source3/lib/cmd_interp.c
index 52f025636a..0ae6f5fb83 100644
--- a/source3/lib/cmd_interp.c
+++ b/source3/lib/cmd_interp.c
@@ -1363,7 +1363,7 @@ int command_main(int argc, char *argv[])
/* Should we exit? Are we done? */
if (cmd_set_options & (CMD_HELP|CMD_STR)) {
free_connections();
- get_safe_nt_error_msg(status, msg, sizeof(msg));
+ get_nt_error_msg(status, msg, sizeof(msg));
report(out_hnd, "Exit Status: %s\n", msg);
/* unix only has 8 bit error codes - blergh */
@@ -1383,7 +1383,7 @@ int command_main(int argc, char *argv[])
commands = NULL;
/* report and exit */
- get_safe_nt_error_msg(status, msg, sizeof(msg));
+ get_nt_error_msg(status, msg, sizeof(msg));
report(out_hnd, "Exit Status: %s\n", msg);
return status;
}