diff --git a/source/libsmb/nterr.c b/source/libsmb/nterr.c index 73d77b728ae..89ad58b26f6 100644 --- a/source/libsmb/nterr.c +++ b/source/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); } /*****************************************************************************