]> git.eshelyaron.com Git - emacs.git/commitdiff
* src/emacs.c (load_seccomp): Fix condition.
authorPhilipp Stephani <phst@google.com>
Sat, 10 Apr 2021 18:35:06 +0000 (20:35 +0200)
committerPhilipp Stephani <phst@google.com>
Sat, 10 Apr 2021 18:37:29 +0000 (20:37 +0200)
src/emacs.c

index 8658b1886edd84d13b2cd67044a136e8ce587591..cb1361fe46da002fbf29d917e8825c37e6890b13 100644 (file)
@@ -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",