File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -975,7 +975,7 @@ VALUE IO_Event_Selector_KQueue_select(VALUE self, VALUE duration) {
975975 // Non-comprehensive testing shows this gives a 1.5x speedup.
976976
977977 // First do the syscall with no timeout to get any immediately available events:
978- if (DEBUG ) fprintf (stderr , "\r\nselect_internal_with_gvl timeout=" IO_EVENT_PRINTF_TIMESPEC "\r\n" , IO_EVENT_PRINTF_TIMESPEC_ARGUMENTS (arguments .storage ));
978+ if (DEBUG ) fprintf (stderr , "\r\nselect_internal_with_gvl timeout=" IO_EVENT_TIME_PRINTF_TIMESPEC "\r\n" , IO_EVENT_TIME_PRINTF_TIMESPEC_ARGUMENTS (arguments .storage ));
979979 select_internal_with_gvl (& arguments );
980980 if (DEBUG ) fprintf (stderr , "\r\nselect_internal_with_gvl done\r\n" );
981981
@@ -993,7 +993,7 @@ VALUE IO_Event_Selector_KQueue_select(VALUE self, VALUE duration) {
993993 struct timespec start_time ;
994994 IO_Event_Time_current (& start_time );
995995
996- if (DEBUG ) fprintf (stderr , "IO_Event_Selector_KQueue_select timeout=" IO_EVENT_PRINTF_TIMESPEC "\n" , IO_EVENT_PRINTF_TIMESPEC_ARGUMENTS (arguments .storage ));
996+ if (DEBUG ) fprintf (stderr , "IO_Event_Selector_KQueue_select timeout=" IO_EVENT_TIME_PRINTF_TIMESPEC "\n" , IO_EVENT_TIME_PRINTF_TIMESPEC_ARGUMENTS (arguments .storage ));
997997 select_internal_without_gvl (& arguments );
998998
999999 struct timespec end_time ;
You can’t perform that action at this time.
0 commit comments