summaryrefslogtreecommitdiffstats
path: root/source/smbd/notify_kernel.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/smbd/notify_kernel.c')
-rw-r--r--source/smbd/notify_kernel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/smbd/notify_kernel.c b/source/smbd/notify_kernel.c
index d7408c06b57..f1e40793c85 100644
--- a/source/smbd/notify_kernel.c
+++ b/source/smbd/notify_kernel.c
@@ -125,7 +125,7 @@ static void *kernel_register_notify(connection_struct *conn, char *path, uint32
int fd;
unsigned long kernel_flags;
- fd = dos_open(path, O_RDONLY, 0);
+ fd = sys_open(dos_to_unix(path,False),O_RDONLY, 0);
if (fd == -1) {
DEBUG(3,("Failed to open directory %s for change notify\n", path));