summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilipp Stephani <phst@google.com>2021-04-10 20:35:06 +0200
committerPhilipp Stephani <phst@google.com>2021-04-10 20:37:29 +0200
commit2d17e0124e4232db6344b18cec466eb31920e675 (patch)
tree511c6140ed3b635422cb9d0aadb73ccef47e84c4
parent8a84f97abed548e4a254a9b855c3f79dac8c3d5d (diff)
downloademacs-2d17e0124e4232db6344b18cec466eb31920e675.tar.gz
* src/emacs.c (load_seccomp): Fix condition.
-rw-r--r--src/emacs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emacs.c b/src/emacs.c
index 8658b1886ed..cb1361fe46d 100644
--- a/src/emacs.c
+++ b/src/emacs.c
@@ -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",