Skip to content

Commit

Permalink
Replaced abort() calls with mce_abort()
Browse files Browse the repository at this point in the history
Simple abort() would exit without blocking suspend.
  • Loading branch information
spiiroin committed Dec 11, 2012
1 parent 7027ead commit b4dda54
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mce-io.c
Expand Up @@ -467,12 +467,12 @@ gboolean mce_write_number_string_to_file(output_state_t *output, const gulong nu

if( !output ) {
mce_log(LL_CRIT, "NULL output passed, terminating");
abort();
mce_abort();
}

if( !output->context ) {
mce_log(LL_CRIT, "output->context missing, terminating");
abort();
mce_abort();
}

if( !output->path ) {
Expand Down

0 comments on commit b4dda54

Please sign in to comment.