summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/libsmb/doserr.c6
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);
+}