From 3f16db6263fe5bab588bd1b7347f5d2ddc7d6059 Mon Sep 17 00:00:00 2001 From: Omar Polo Date: Sun, 21 Jan 2024 12:35:46 +0000 Subject: [PATCH] update imsg test: gmid now requires the new API too --- have/imsg.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/have/imsg.c b/have/imsg.c index 71fa269..560a615 100644 --- a/have/imsg.c +++ b/have/imsg.c @@ -24,7 +24,8 @@ int main(void) { struct imsgbuf buf; + struct imsg imsg; imsg_init(&buf, -1); - return 0; + return imsg_get_fd(&imsg); }