fix warning message.
This commit is contained in:
parent
ffae487cf2
commit
b55ffd0089
@ -944,7 +944,6 @@ InitWorkSpace(Int s)
|
|||||||
#else
|
#else
|
||||||
a = mmap(NULL, (size_t) s, PROT_READ | PROT_WRITE | PROT_EXEC,
|
a = mmap(NULL, (size_t) s, PROT_READ | PROT_WRITE | PROT_EXEC,
|
||||||
MAP_PRIVATE | MAP_ANON, -1, 0);
|
MAP_PRIVATE | MAP_ANON, -1, 0);
|
||||||
fprintf(stderr,"a=%p\n",a);
|
|
||||||
#endif
|
#endif
|
||||||
#else
|
#else
|
||||||
fd = open("/dev/zero", O_RDWR, S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH);
|
fd = open("/dev/zero", O_RDWR, S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH);
|
||||||
|
Reference in New Issue
Block a user