ref: move fatal() to log.c