Merge pull request #2 from carenas/patch-1

Update README.md
This commit is contained in:
Spencer Tipping 2019-08-04 19:08:58 -06:00 committed by GitHub
commit 2e36f0c40b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -398,7 +398,7 @@ fn compile_identity(void) {
MAP_PRIVATE | MAP_ANONYMOUS, MAP_PRIVATE | MAP_ANONYMOUS,
-1, // fd (not used here) -1, // fd (not used here)
0); // offset (not used here) 0); // offset (not used here)
if (!memory) { if (memory == MAP_FAILED) {
perror("failed to allocate memory"); perror("failed to allocate memory");
exit(1); exit(1);
} }