Skip to content

Commit

Permalink
fixup! kernel: Update standard_error to use prim_tty nif
Browse files Browse the repository at this point in the history
  • Loading branch information
garazdawi committed Nov 27, 2024
1 parent 3098166 commit ad8176a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion erts/emulator/nifs/common/prim_tty_nif.c
Original file line number Diff line number Diff line change
Expand Up @@ -902,7 +902,7 @@ static ERL_NIF_TERM tty_create_nif(ErlNifEnv* env, int argc, const ERL_NIF_TERM
NULL, OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, NULL);
}

if (enif_is_identical(env, argv[0], atom_stdin))
if (enif_is_identical(argv[0], atom_stdin))
return enif_make_badarg(env);
tty->ofd = tty_get_handle(env, argv[0]);
if (tty->ofd == INVALID_HANDLE_VALUE || tty->ofd == NULL) {
Expand Down

0 comments on commit ad8176a

Please sign in to comment.