summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/libsmb/nterr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/libsmb/nterr.c b/source3/libsmb/nterr.c
index 73d77b728a..89ad58b26f 100644
--- a/source3/libsmb/nterr.c
+++ b/source3/libsmb/nterr.c
@@ -607,7 +607,7 @@ char *get_friendly_nt_error_msg(NTSTATUS nt_code)
/* fall back to NT_STATUS_XXX string */
- return get_nt_error_msg(nt_code);
+ return nt_errstr(nt_code);
}
/*****************************************************************************