diff options
author | Stefan Metzmacher <metze@samba.org> | 2007-11-08 14:33:04 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2007-11-08 14:33:04 +0100 |
commit | 380840d588fa38a7e5a4a8aa39a0f3a35eb6a5d6 (patch) | |
tree | ab990b49ee7617b72bc635ce7a31248148bf1cb8 | |
parent | 248e900374e19b45b0097024e85517ebaafba9f6 (diff) | |
download | samba-380840d588fa38a7e5a4a8aa39a0f3a35eb6a5d6.tar.gz samba-380840d588fa38a7e5a4a8aa39a0f3a35eb6a5d6.tar.bz2 samba-380840d588fa38a7e5a4a8aa39a0f3a35eb6a5d6.zip |
add win_errstr() as wrapper of dos_errstr().
this makes merging stuff from samba4 easier
metze
(This used to be commit cfbdb133b998a704c6c167b9b4b56370f4ff666d)
-rw-r--r-- | source3/libsmb/doserr.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/source3/libsmb/doserr.c b/source3/libsmb/doserr.c index 52afb0d022..b8cb8b4bc6 100644 --- a/source3/libsmb/doserr.c +++ b/source3/libsmb/doserr.c @@ -108,3 +108,9 @@ const char *dos_errstr(WERROR werror) return msg; } + +/* compat function for samba4 */ +const char *win_errstr(WERROR werror) +{ + return dos_errstr(werror); +} |