Skip to content

Commit 7fcb143

Browse files
committed
Don't forget v_maxfds
Technically harmless since it's not a block, but this slipped. spotted by @hannesm
1 parent 915f5a9 commit 7fcb143

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/iomux_stubs.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ caml_iomux_poll_set_index(value v_fds, value v_index, value v_fd, value v_events
116116
value
117117
caml_iomux_poll_init(value v_fds, value v_maxfds)
118118
{
119-
CAMLparam1(v_fds);
119+
CAMLparam2(v_fds, v_maxfds);
120120
struct pollfd *pfd = pollfd_of_index(v_fds, Val_int(0));
121121
int maxfds = Int_val(v_maxfds);
122122
int i;

0 commit comments

Comments
 (0)