Commit 7d84056d authored by Paul Eggert's avatar Paul Eggert

Fix dump_map_file on unusual platforms

* src/pdumper.c (dump_map_file): Fix recently-introduced typo
on platforms that support neither POSIX nor MS-Windows VM.
parent 5e3e14f6
......@@ -4550,7 +4550,7 @@ dump_map_file (void *base, int fd, off_t offset, size_t size,
return dump_map_file_w32 (base, fd, offset, size, protection);
#else
errno = ENOSYS;
return ret;
return NULL;
#endif
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment