summaryrefslogtreecommitdiff
path: root/source3/registry/regfio.c
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2009-11-27 13:06:14 +0100
committerVolker Lendecke <vl@samba.org>2009-11-29 11:22:04 +0100
commit13e70058c01afa474cad66e25e5c37fc8d2c5488 (patch)
tree1f12b42abab27fc03853bb5048ea2283ffaa109d /source3/registry/regfio.c
parent591599645263fc95a2b3f0e8dee6eac32a4f7790 (diff)
downloadsamba-13e70058c01afa474cad66e25e5c37fc8d2c5488.tar.gz
samba-13e70058c01afa474cad66e25e5c37fc8d2c5488.tar.bz2
samba-13e70058c01afa474cad66e25e5c37fc8d2c5488.zip
s3: "write_block" does not use the sbuf at all
Diffstat (limited to 'source3/registry/regfio.c')
-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 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;
}