diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2007-09-07 22:01:15 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 15:05:33 -0500 |
commit | 922101afbd64b42c01e1093b9d58fff24b1f852e (patch) | |
tree | d7e23d4e92ec7bf649b8fcca2facac9f3b55c6bd /source4/libcli/util/doserr.c | |
parent | 3b6186a67630cf05bc33e6e9288e132f39173ef4 (diff) | |
download | samba-922101afbd64b42c01e1093b9d58fff24b1f852e.tar.gz samba-922101afbd64b42c01e1093b9d58fff24b1f852e.tar.bz2 samba-922101afbd64b42c01e1093b9d58fff24b1f852e.zip |
r25010: Avoid uses of pstring
(This used to be commit cce7785474fc536dd44b39403c785b524b128144)
Diffstat (limited to 'source4/libcli/util/doserr.c')
-rw-r--r-- | source4/libcli/util/doserr.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source4/libcli/util/doserr.c b/source4/libcli/util/doserr.c index d62a31c1fa..49818e573a 100644 --- a/source4/libcli/util/doserr.c +++ b/source4/libcli/util/doserr.c @@ -20,7 +20,6 @@ /* DOS error codes. please read doserr.h */ #include "includes.h" -#include "pstring.h" struct werror_code_struct { const char *dos_errstr; @@ -133,7 +132,7 @@ static const struct werror_code_struct dos_errs[] = *****************************************************************************/ const char *win_errstr(WERROR werror) { - static pstring msg; + static char msg[40]; int idx = 0; while (dos_errs[idx].dos_errstr != NULL) { |