diff options
author | Jeremy Allison <jra@samba.org> | 2001-01-08 20:37:48 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2001-01-08 20:37:48 +0000 |
commit | 3a50ad16c5b51d0d812e50cfb65ff43a5786d131 (patch) | |
tree | 444489de7c547a2009316359f12e418ec5c39d6c /source/libsmb/nterr.c | |
parent | 4afc02447d4de9aaa329e4ec59d36f91716835c0 (diff) | |
download | samba-3a50ad16c5b51d0d812e50cfb65ff43a5786d131.tar.gz samba-3a50ad16c5b51d0d812e50cfb65ff43a5786d131.tar.xz samba-3a50ad16c5b51d0d812e50cfb65ff43a5786d131.zip |
Big merge to sync up appliance-head and 2.2.
Jeremy.
Diffstat (limited to 'source/libsmb/nterr.c')
-rw-r--r-- | source/libsmb/nterr.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/libsmb/nterr.c b/source/libsmb/nterr.c index f9d717477a0..17bb825219f 100644 --- a/source/libsmb/nterr.c +++ b/source/libsmb/nterr.c @@ -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; } |