Skip to content

Commit

Permalink
Fixed also _h_errno in socket init
Browse files Browse the repository at this point in the history
  • Loading branch information
afxgroup committed Sep 29, 2023
1 parent d266147 commit f8bcd20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/socket/init_exit.c
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ SOCKET_CONSTRUCTOR(socket_init) {

/* Wire the library's h_errno variable to our local h_errno. */
tags[3].ti_Tag = SBTM_SETVAL(SBTC_HERRNOLONGPTR);
tags[3].ti_Data = (ULONG)&h_errno;
tags[3].ti_Data = (ULONG)&__clib4->_h_errno;

tags[4].ti_Tag = TAG_END;

Expand Down

0 comments on commit f8bcd20

Please sign in to comment.