1
0
mirror of https://github.com/samba-team/samba.git synced 2025-08-02 00:22:11 +03:00

Removed compiler warning.

(This used to be commit 6d3bd1d806)
This commit is contained in:
Tim Potter
2000-12-08 02:45:51 +00:00
parent 269acfe1d2
commit 2e79da814d

View File

@ -540,9 +540,10 @@ BOOL get_safe_nt_error_msg(uint32 nt_code,char *msg, size_t len)
/*****************************************************************************
returns an NT error message. not amazingly helpful, but better than a number.
*****************************************************************************/
const char *get_nt_error_msg(uint32 nt_code)
char *get_nt_error_msg(uint32 nt_code)
{
static pstring msg;
get_safe_nt_error_msg(nt_code, msg, sizeof(msg));
return msg;
}