Skip to content

Commit

Permalink
Fixed NOREADLINE compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
zevv committed Dec 18, 2024
1 parent 6399bc7 commit 2cf6781
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/linux/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ int main(int argc, char **argv)
for(;;) {
char buf[4096];
if(fgets(buf, sizeof(buf), stdin)) {
do_eval("stdin", ++line, buf);
do_eval(ctx, "stdin", ++line, buf);
printf("\n");
} else {
break;
Expand Down

0 comments on commit 2cf6781

Please sign in to comment.