Either sizeof(struct stat) or sizeof f_stat, but not sizeof stat.

This commit is contained in:
Sascha Schumann 2001-10-13 23:43:49 +00:00
parent 7904bff7ad
commit a92fa9b2bc

View File

@ -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)) {