Little detection change proposal.

As pointed out, the further path is called by open rather than shm_open.
This commit is contained in:
David Carlier 2019-04-26 22:56:08 +01:00 committed by Peter Kokot
parent d0719be436
commit bb06030bf7

View File

@ -294,7 +294,7 @@ int main() {
char *shm;
char tmpname[4096];
sprintf(tmpname,"/opcache.test.shm.%dXXXXXX", getpid());
sprintf(tmpname,"opcache.test.shm.%dXXXXXX", getpid());
if (mktemp(tmpname) == NULL) {
return 1;
}