From a9c68c76c30b8406af0f2ba4f0b77e3bee609660 Mon Sep 17 00:00:00 2001 From: Zdenek Styblik Date: Wed, 25 Jan 2012 12:08:46 +0000 Subject: [PATCH] Remove extra new-lines from error messages in 'src/ipmievd.c'. --- ipmitool/src/ipmievd.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ipmitool/src/ipmievd.c b/ipmitool/src/ipmievd.c index 722d9e9..422fcda 100644 --- a/ipmitool/src/ipmievd.c +++ b/ipmitool/src/ipmievd.c @@ -744,8 +744,8 @@ ipmievd_main(struct ipmi_event_intf * eintf, int argc, char ** argv) if (lstat(pidfile, &st1) == 0) { /* PID file already exists -> exit. */ - lprintf(LOG_ERR, "PID file '%s' already exists.\n", pidfile); - lprintf(LOG_ERR, "Perhaps another instance is already running.\n"); + lprintf(LOG_ERR, "PID file '%s' already exists.", pidfile); + lprintf(LOG_ERR, "Perhaps another instance is already running."); return (-1); } @@ -758,7 +758,7 @@ ipmievd_main(struct ipmi_event_intf * eintf, int argc, char ** argv) log_halt(); log_init("ipmievd", daemon, verbose); lprintf(LOG_ERR, - "Failed to open PID file '%s' for writing. Check file permission.\n", + "Failed to open PID file '%s' for writing. Check file permission.", pidfile); exit(EXIT_FAILURE); }