summaryrefslogtreecommitdiff
path: root/source3/modules
diff options
context:
space:
mode:
Diffstat (limited to 'source3/modules')
-rw-r--r--source3/modules/vfs_commit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/modules/vfs_commit.c b/source3/modules/vfs_commit.c
index 8bd8181b13..af1f98b20f 100644
--- a/source3/modules/vfs_commit.c
+++ b/source3/modules/vfs_commit.c
@@ -235,7 +235,7 @@ static int commit_open(
c->eof = st.st_ex_size;
}
- return 0;
+ return fd;
}
static ssize_t commit_write(