diff options
Diffstat (limited to 'colorize.c')
-rw-r--r-- | colorize.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -82,12 +82,12 @@ #if !DEBUG # define MEM_ALLOC_FAIL() do { \ fprintf (stderr, "%s: memory allocation failure\n", program_name); \ - exit (2); \ + exit (EXIT_FAILURE); \ } while (false) #else # define MEM_ALLOC_FAIL_DEBUG(file, line) do { \ fprintf (stderr, "Memory allocation failure in source file %s, line %u\n", file, line); \ - exit (2); \ + exit (EXIT_FAILURE); \ } while (false) #endif |