summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2009-11-16 14:55:21 -0800
committerJeremy Allison <jra@samba.org>2009-11-16 14:55:21 -0800
commita2a8dc515cca833c442cc3bb4cf90682e8ba147d (patch)
treea62ef7e79992aa7ff65f8f29fa17f8a667623989 /source3/include
parent5c54c73c0ec14e391cd58481249b1eda752d4798 (diff)
downloadsamba-a2a8dc515cca833c442cc3bb4cf90682e8ba147d.tar.gz
samba-a2a8dc515cca833c442cc3bb4cf90682e8ba147d.tar.bz2
samba-a2a8dc515cca833c442cc3bb4cf90682e8ba147d.zip
Don't overwrite a dynamic pointer with the address of a stack
variable. Jeremy.
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/proto.h2
1 files changed, 1 insertions, 1 deletions
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 */