diff options
author | Philipp Stephani <phst@google.com> | 2021-04-10 20:35:06 +0200 |
---|---|---|
committer | Philipp Stephani <phst@google.com> | 2021-04-10 20:37:29 +0200 |
commit | 2d17e0124e4232db6344b18cec466eb31920e675 (patch) | |
tree | 511c6140ed3b635422cb9d0aadb73ccef47e84c4 | |
parent | 8a84f97abed548e4a254a9b855c3f79dac8c3d5d (diff) | |
download | emacs-2d17e0124e4232db6344b18cec466eb31920e675.tar.gz |
* src/emacs.c (load_seccomp): Fix condition.
-rw-r--r-- | src/emacs.c | 2 |
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", |