diff --git a/input.c b/input.c index bd782eaf8..b0ebc0c67 100644 --- a/input.c +++ b/input.c @@ -293,7 +293,7 @@ static int interrupt_handler() /* Fire any pending events */ - event_fire( 0 ); + event_fire( NULL ); /* Reap stray processes, including printing exit status messages diff --git a/parser.c b/parser.c index 54560cdf6..e3fc738dc 100644 --- a/parser.c +++ b/parser.c @@ -2538,7 +2538,7 @@ int eval( const wchar_t *cmd, io_data_t *io, int block_type ) error_code = 0; - event_fire( 0 ); + event_fire( NULL ); while( tok_has_next( current_tokenizer ) && !error_code && @@ -2546,7 +2546,7 @@ int eval( const wchar_t *cmd, io_data_t *io, int block_type ) !exit_status() ) { eval_job( current_tokenizer ); - event_fire( 0 ); + event_fire( NULL ); } int prev_block_type = current_block->type;