Commit 2d17e012 authored by Philipp Stephani's avatar Philipp Stephani
Browse files

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

parent 8a84f97a
Pipeline #10233 failed with stages
in 44 minutes and 27 seconds
......@@ -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",
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment