diff --git a/src/logger.c b/src/logger.c index a0c25ba..221f6d6 100644 --- a/src/logger.c +++ b/src/logger.c @@ -297,7 +297,7 @@ int main(int argc, char *argv[]) log_opts |= LOG_NLOG; fp = fopen(logfile, "a"); if (!fp) - err(1, "Failed opening %s for writing: %m", logfile); + err(1, "Failed opening %s for writing", logfile); } else { log_opts |= LOG_STDOUT; fp = stdout;