diff options
author | Sascha Schumann <sas@php.net> | 2001-10-13 23:43:49 +0000 |
---|---|---|
committer | Sascha Schumann <sas@php.net> | 2001-10-13 23:43:49 +0000 |
commit | a92fa9b2bc5fd0e9387b59477a58e8e0178ccb10 (patch) | |
tree | 55ef7e1f6d27ae520ca606faba5f88561da142ab /ext/standard/file.c | |
parent | 7904bff7adca226ef57a135c4ab95e880276e9fa (diff) | |
download | php-git-a92fa9b2bc5fd0e9387b59477a58e8e0178ccb10.tar.gz |
Either sizeof(struct stat) or sizeof f_stat, but not sizeof stat.
Diffstat (limited to 'ext/standard/file.c')
-rw-r--r-- | ext/standard/file.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/standard/file.c b/ext/standard/file.c index fadfa664f2..df03be59e9 100644 --- a/ext/standard/file.c +++ b/ext/standard/file.c @@ -1646,7 +1646,7 @@ PHP_FUNCTION(mmapfile) char *in_addr; struct stat f_stat; - memset (&f_stat, 0, sizeof (stat)); + memset (&f_stat, 0, sizeof (f_stat)); /* check args */ switch (ARG_COUNT(ht)) { |