From d5e5d09d73d4033aad54dd8dd3edb2c6fd7d630e Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Fri, 27 Nov 2009 13:06:44 +0100 Subject: s3: "read_block" only looks at the size --- source3/registry/regfio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/registry') 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; } -- cgit