From 13e70058c01afa474cad66e25e5c37fc8d2c5488 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Fri, 27 Nov 2009 13:06:14 +0100 Subject: s3: "write_block" does not use the sbuf at all --- source3/registry/regfio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/registry/regfio.c') diff --git a/source3/registry/regfio.c b/source3/registry/regfio.c index 42c2475a2b..7db51068e8 100644 --- a/source3/registry/regfio.c +++ b/source3/registry/regfio.c @@ -45,7 +45,7 @@ static int write_block( REGF_FILE *file, prs_struct *ps, uint32 offset ) /* 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,("write_block: stat() failed! (%s)\n", strerror(errno))); return -1; } -- cgit