s3: "regf_hbin_allocate" only looks at the size
authorVolker Lendecke <vl@samba.org>
Fri, 27 Nov 2009 12:07:12 +0000 (13:07 +0100)
committerVolker Lendecke <vl@samba.org>
Sun, 29 Nov 2009 10:22:04 +0000 (11:22 +0100)
source3/registry/regfio.c

index d1333353fd558f7d400d65f66c26b6cd5ffc3dd9..5d9734b15e0526ef9138d3199d70f82864f2db55 100644 (file)
@@ -1429,7 +1429,7 @@ static REGF_HBIN* regf_hbin_allocate( REGF_FILE *file, uint32 block_size )
        memcpy( hbin->header, "hbin", sizeof(HBIN_HDR_SIZE) );
 
 
-       if (sys_fstat(file->fd, &sbuf, lp_fake_dir_create_times())) {
+       if (sys_fstat(file->fd, &sbuf, false)) {
                DEBUG(0,("regf_hbin_allocate: stat() failed! (%s)\n", strerror(errno)));
                return NULL;
        }