From 380840d588fa38a7e5a4a8aa39a0f3a35eb6a5d6 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Thu, 8 Nov 2007 14:33:04 +0100 Subject: add win_errstr() as wrapper of dos_errstr(). this makes merging stuff from samba4 easier metze (This used to be commit cfbdb133b998a704c6c167b9b4b56370f4ff666d) --- source3/libsmb/doserr.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'source3/libsmb') 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); +} -- cgit