From 2d17e0124e4232db6344b18cec466eb31920e675 Mon Sep 17 00:00:00 2001 From: Philipp Stephani Date: Sat, 10 Apr 2021 20:35:06 +0200 Subject: [PATCH] * src/emacs.c (load_seccomp): Fix condition. --- src/emacs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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", -- 2.39.5