summaryrefslogtreecommitdiff
path: root/source3/smbd/groupname.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/smbd/groupname.c')
-rw-r--r--source3/smbd/groupname.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/groupname.c b/source3/smbd/groupname.c
index 6616d0d157..75af12a47a 100644
--- a/source3/smbd/groupname.c
+++ b/source3/smbd/groupname.c
@@ -82,7 +82,7 @@ void load_groupname_map(void)
if (!*groupname_map_file)
return;
- if(stat(groupname_map_file, &st) != 0) {
+ if(sys_stat(groupname_map_file, &st) != 0) {
DEBUG(0, ("load_groupname_map: Unable to stat file %s. Error was %s\n",
groupname_map_file, strerror(errno) ));
return;