From: Alejandro Colomar Date: Thu, 26 Jan 2023 00:01:11 +0000 (+0100) Subject: seccomp_unotify.2: EXAMPLES: tfix X-Git-Tag: man-pages-6.03~62 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=4fe6860f6799a508cfcd47af3bfd3af91f84a6f1;p=thirdparty%2Fman-pages.git seccomp_unotify.2: EXAMPLES: tfix Signed-off-by: Alejandro Colomar --- 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"); }