diff options
Diffstat (limited to 'source3/libsmb/doserr.c')
-rw-r--r-- | source3/libsmb/doserr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/libsmb/doserr.c b/source3/libsmb/doserr.c index 02db625685..c9de4cf319 100644 --- a/source3/libsmb/doserr.c +++ b/source3/libsmb/doserr.c @@ -24,7 +24,7 @@ typedef const struct { - char *dos_errstr; + const char *dos_errstr; WERROR werror; } werror_code_struct; @@ -73,7 +73,7 @@ werror_code_struct dos_errs[] = /***************************************************************************** returns a DOS error message. not amazingly helpful, but better than a number. *****************************************************************************/ -char *dos_errstr(WERROR werror) +const char *dos_errstr(WERROR werror) { static pstring msg; int idx = 0; |