From: Paul Eggert Date: Fri, 19 Apr 2019 19:38:45 +0000 (-0700) Subject: Fix dump_map_file on unusual platforms X-Git-Tag: emacs-27.0.90~3195 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=7d84056df4b228509b723b11d69bf39e3d1e548a;p=emacs.git 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. --- diff --git a/src/pdumper.c b/src/pdumper.c index 2cc9af7f56c..1bd94cb0036 100644 --- a/src/pdumper.c +++ b/src/pdumper.c @@ -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 }