]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix dump_map_file on unusual platforms
authorPaul Eggert <eggert@cs.ucla.edu>
Fri, 19 Apr 2019 19:38:45 +0000 (12:38 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Fri, 19 Apr 2019 19:57:30 +0000 (12:57 -0700)
* src/pdumper.c (dump_map_file): Fix recently-introduced typo
on platforms that support neither POSIX nor MS-Windows VM.

src/pdumper.c

index 2cc9af7f56cc3c3a3a98ee28fcc72988dc6d34ff..1bd94cb0036a2b4a8b3c72133729df4c7feb7bb5 100644 (file)
@@ -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
 }