Fix a cppcheck complaint in init_error_log()