Use EXIT_FAILURE instead of hardcoded value.