Skip to content

Commit

Permalink
fix imsg test
Browse files Browse the repository at this point in the history
  • Loading branch information
omar-polo committed Nov 24, 2024
1 parent 9cffa6b commit fef5d24
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions have/imsg.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@
int
main(void)
{
struct imsgbuf buf;
struct imsgbuf imsgbuf;
struct imsg imsg;

if (imsgbuf_init(&buf, -1) == -1)
if (imsgbuf_init(&imsgbuf, -1) == -1)
return 1;
imsgbuf_allow_fdpass(&ibuf);
imsgbuf_allow_fdpass(&imsgbuf);
return imsg_get_fd(&imsg);
}

0 comments on commit fef5d24

Please sign in to comment.