projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8a84f97
)
* src/emacs.c (load_seccomp): Fix condition.
author
Philipp Stephani
<phst@google.com>
Sat, 10 Apr 2021 18:35:06 +0000
(20:35 +0200)
committer
Philipp Stephani
<phst@google.com>
Sat, 10 Apr 2021 18:37:29 +0000
(20:37 +0200)
src/emacs.c
patch
|
blob
|
history
diff --git
a/src/emacs.c
b/src/emacs.c
index 8658b1886edd84d13b2cd67044a136e8ce587591..cb1361fe46da002fbf29d917e8825c37e6890b13 100644
(file)
--- 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",