summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2009-11-27 13:06:44 +0100
committerVolker Lendecke <vl@samba.org>2009-11-29 11:22:04 +0100
commitd5e5d09d73d4033aad54dd8dd3edb2c6fd7d630e (patch)
tree94d73f1fc4d466a76aa56dcc9fc19dd4691e83d9 /source3
parent13e70058c01afa474cad66e25e5c37fc8d2c5488 (diff)
downloadsamba-d5e5d09d73d4033aad54dd8dd3edb2c6fd7d630e.tar.gz
samba-d5e5d09d73d4033aad54dd8dd3edb2c6fd7d630e.tar.bz2
samba-d5e5d09d73d4033aad54dd8dd3edb2c6fd7d630e.zip
s3: "read_block" only looks at the size
Diffstat (limited to 'source3')
-rw-r--r--source3/registry/regfio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/registry/regfio.c b/source3/registry/regfio.c
index 7db51068e8..d1333353fd 100644
--- a/source3/registry/regfio.c
+++ b/source3/registry/regfio.c
@@ -79,7 +79,7 @@ static int read_block( REGF_FILE *file, prs_struct *ps, uint32 file_offset, uint
/* check for end of file */
- if (sys_fstat(file->fd, &sbuf, lp_fake_dir_create_times())) {
+ if (sys_fstat(file->fd, &sbuf, false)) {
DEBUG(0,("read_block: stat() failed! (%s)\n", strerror(errno)));
return -1;
}