change perror to zlog_err
2 files changed