aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOmar Polo <op@omarpolo.com>2024-01-21 12:35:46 +0000
committerOmar Polo <op@omarpolo.com>2024-01-21 12:35:46 +0000
commit3f16db6263fe5bab588bd1b7347f5d2ddc7d6059 (patch)
tree2ba3a1f6d584763c0b3ca7d8400e5c293379f974
parent561b9f0067f9a7a13761b9c4dbc519271f578523 (diff)
update imsg test: gmid now requires the new API too
-rw-r--r--have/imsg.c3
1 files changed, 2 insertions, 1 deletions
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);
}