diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index 8e71a5a9e..ff77d5042 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,7 @@ +2002-06-08 Christopher Faylor + + * pinfo.cc (pinfo_dummy): Initialize to correct size. + 2002-06-08 Christopher Faylor * path.cc: Change MOUNT_AUTO to MOUNT_CYGDRIVE throughout. diff --git a/winsup/cygwin/pinfo.cc b/winsup/cygwin/pinfo.cc index 2b96442aa..44ca1df46 100644 --- a/winsup/cygwin/pinfo.cc +++ b/winsup/cygwin/pinfo.cc @@ -27,7 +27,7 @@ details. */ #include #include "ntdll.h" -static char NO_COPY pinfo_dummy[sizeof(pinfo)] = {0}; +static char NO_COPY pinfo_dummy[sizeof (_pinfo)] = {0}; pinfo NO_COPY myself ((_pinfo *)&pinfo_dummy); // Avoid myself != NULL checks