Skip to content

Commit e0baf81

Browse files
Update c_src/pythonx.cpp
Co-authored-by: José Valim <jose.valim@gmail.com>
1 parent 914cdc2 commit e0baf81

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

c_src/pythonx.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1619,7 +1619,7 @@ extern "C" void pythonx_handle_io_write(const char *message,
16191619
ErlNifPid janitor_pid;
16201620
if (enif_whereis_pid(caller_env, janitor_name, &janitor_pid)) {
16211621
auto device = type == 0 ? eval_info.stdout_device : eval_info.stderr_device;
1622-
// Copy the device term is from a differnet env, so we copy it into
1622+
// The device term is from a different env, so we copy it into
16231623
// the message env, otherwise we may run into unexpected behaviour.
16241624
device = enif_make_copy(env, device);
16251625

0 commit comments

Comments
 (0)