* src/emacs.c (load_seccomp): Fix condition.
This commit is contained in:
parent
8a84f97abe
commit
2d17e0124e
1 changed files with 1 additions and 1 deletions
|
@ -1060,7 +1060,7 @@ load_seccomp (const char *file)
|
|||
emacs_perror ("read");
|
||||
goto out;
|
||||
}
|
||||
if (read != count)
|
||||
if (read != size)
|
||||
{
|
||||
fprintf (stderr,
|
||||
"seccomp filter %s changed size while reading\n",
|
||||
|
|
Loading…
Add table
Reference in a new issue