mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-16 17:24:23 +00:00
* src/emacs.c (load_seccomp): Consistently check for nonzero result
This commit is contained in:
parent
c8d542fd59
commit
d37f0f3ac3
1 changed files with 1 additions and 1 deletions
|
|
@ -1079,7 +1079,7 @@ load_seccomp (const char *file)
|
|||
file);
|
||||
goto out;
|
||||
}
|
||||
if (emacs_close (fd) < 0)
|
||||
if (emacs_close (fd) != 0)
|
||||
emacs_perror ("close"); /* not a fatal error */
|
||||
fd = -1;
|
||||
program.len = count;
|
||||
|
|
|
|||
Loading…
Reference in a new issue