From a2a8dc515cca833c442cc3bb4cf90682e8ba147d Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Mon, 16 Nov 2009 14:55:21 -0800 Subject: Don't overwrite a dynamic pointer with the address of a stack variable. Jeremy. --- source3/include/proto.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/include/proto.h') diff --git a/source3/include/proto.h b/source3/include/proto.h index 86f6626a69..4e347d6ddb 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -6333,7 +6333,7 @@ void delete_write_cache(files_struct *fsp); void set_filelen_write_cache(files_struct *fsp, SMB_OFF_T file_size); ssize_t flush_write_cache(files_struct *fsp, enum flush_reason_enum reason); NTSTATUS sync_file(connection_struct *conn, files_struct *fsp, bool write_through); -int fsp_stat(files_struct *fsp, SMB_STRUCT_STAT *pst); +int fsp_stat(files_struct *fsp); /* The following definitions come from smbd/filename.c */ -- cgit