mirror of
https://github.com/php/php-src.git
synced 2024-11-28 20:34:29 +08:00
Either sizeof(struct stat) or sizeof f_stat, but not sizeof stat.
This commit is contained in:
parent
7904bff7ad
commit
a92fa9b2bc
@ -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)) {
|
||||
|
Loading…
Reference in New Issue
Block a user