summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2008-12-30 22:49:01 +0100
committerVolker Lendecke <vl@samba.org>2008-12-31 10:51:44 +0100
commitce2ff557bda5560cb9b614313d9ee0adbd57633d (patch)
treed0ddb26093b8b193f859b72504aeba1552e76883 /source3/include
parentcb5db966e34310af16499b657c83f30a1758fc06 (diff)
downloadsamba-ce2ff557bda5560cb9b614313d9ee0adbd57633d.tar.gz
samba-ce2ff557bda5560cb9b614313d9ee0adbd57633d.tar.bz2
samba-ce2ff557bda5560cb9b614313d9ee0adbd57633d.zip
Fix an ancient uninitialized variable read
The callers of open_file_ntcreate expect *psbuf to be filled correctly
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/proto.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h
index 7c00d7b110..b187a660b0 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -4896,7 +4896,8 @@ bool sysv_cache_reload(void);
NTSTATUS print_fsp_open(struct smb_request *req, connection_struct *conn,
const char *fname,
- uint16_t current_vuid, files_struct *fsp);
+ uint16_t current_vuid, files_struct *fsp,
+ SMB_STRUCT_STAT *psbuf);
void print_fsp_end(files_struct *fsp, enum file_close_type close_type);
/* The following definitions come from printing/printing.c */