* src/emacs.c (load_seccomp): Fix condition.

This commit is contained in:
Philipp Stephani 2021-04-10 20:35:06 +02:00
parent 8a84f97abe
commit 2d17e0124e

View file

@ -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",