aboutsummaryrefslogtreecommitdiffstats
path: root/man2
diff options
context:
space:
mode:
authorAlejandro Colomar <alx@kernel.org>2023-01-26 01:01:11 +0100
committerAlejandro Colomar <alx@kernel.org>2023-01-26 01:01:55 +0100
commit4fe6860f6799a508cfcd47af3bfd3af91f84a6f1 (patch)
tree3042df5b505df4439726c2af71f2d987f86b9f3c /man2
parent19d0b94bbdea2e008f52cfc154047300396eb4d3 (diff)
downloadman-pages-4fe6860f6799a508cfcd47af3bfd3af91f84a6f1.tar.gz
seccomp_unotify.2: EXAMPLES: tfix
Signed-off-by: Alejandro Colomar <alx@kernel.org>
Diffstat (limited to 'man2')
-rw-r--r--man2/seccomp_unotify.22
1 files changed, 1 insertions, 1 deletions
diff --git a/man2/seccomp_unotify.2 b/man2/seccomp_unotify.2
index 157fbb94af..3442970893 100644
--- a/man2/seccomp_unotify.2
+++ b/man2/seccomp_unotify.2
@@ -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");
}