diff options
| author | Philipp Stephani | 2021-04-10 20:35:06 +0200 |
|---|---|---|
| committer | Philipp Stephani | 2021-04-10 20:37:29 +0200 |
| commit | 2d17e0124e4232db6344b18cec466eb31920e675 (patch) | |
| tree | 511c6140ed3b635422cb9d0aadb73ccef47e84c4 | |
| parent | 8a84f97abed548e4a254a9b855c3f79dac8c3d5d (diff) | |
| download | emacs-2d17e0124e4232db6344b18cec466eb31920e675.tar.gz emacs-2d17e0124e4232db6344b18cec466eb31920e675.zip | |
* 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) | |||
| 1060 | emacs_perror ("read"); | 1060 | emacs_perror ("read"); |
| 1061 | goto out; | 1061 | goto out; |
| 1062 | } | 1062 | } |
| 1063 | if (read != count) | 1063 | if (read != size) |
| 1064 | { | 1064 | { |
| 1065 | fprintf (stderr, | 1065 | fprintf (stderr, |
| 1066 | "seccomp filter %s changed size while reading\n", | 1066 | "seccomp filter %s changed size while reading\n", |