]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
seccomp_unotify.2: EXAMPLES: tfix
authorAlejandro Colomar <alx@kernel.org>
Thu, 26 Jan 2023 00:01:11 +0000 (01:01 +0100)
committerAlejandro Colomar <alx@kernel.org>
Thu, 26 Jan 2023 00:01:55 +0000 (01:01 +0100)
Signed-off-by: Alejandro Colomar <alx@kernel.org>
man2/seccomp_unotify.2

index 157fbb94afa01c0382a963ca8794f1b14684ee36..34429708938b5c4647ba38cf804c16e5bee63bcb 100644 (file)
@@ -1813,7 +1813,7 @@ allocSeccompNotifBuffers(struct seccomp_notif **req,
         resp_size = sizeof(struct seccomp_notif_resp);
 
     *resp = malloc(resp_size);
-    if (resp == NULL)
+    if (*resp == NULL)
         err(EXIT_FAILURE, "malloc\-seccomp_notif_resp");
 
 }