From 5abd4b52f056ba09b1c134870586393a223ccc79 Mon Sep 17 00:00:00 2001 From: David Sommerseth Date: Fri, 5 Feb 2010 18:16:43 +0100 Subject: Removed not needed \n from log_append() entries --- src/dmidecode.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/dmidecode.c') diff --git a/src/dmidecode.c b/src/dmidecode.c index a29a743..e64d12f 100644 --- a/src/dmidecode.c +++ b/src/dmidecode.c @@ -4870,7 +4870,7 @@ static void dmi_table(Log_t *logp, int type, u32 base, u16 len, u16 num, u16 ver #ifndef USE_MMAP "Try compiling dmidecode with -DUSE_MMAP." #endif - "\n"); + ); return; } @@ -4957,10 +4957,10 @@ static void dmi_table(Log_t *logp, int type, u32 base, u16 len, u16 num, u16 ver if(i != num) log_append(logp, LOGFL_NODUPS, LOG_WARNING, - "Wrong DMI structures count: %d announced, only %d decoded.\n", num, i); + "Wrong DMI structures count: %d announced, only %d decoded.", num, i); if(data - buf != len) log_append(logp, LOGFL_NODUPS, LOG_WARNING, - "Wrong DMI structures length: %d bytes announced, structures occupy %d bytes.\n", + "Wrong DMI structures length: %d bytes announced, structures occupy %d bytes.", len, (unsigned int)(data - buf)); free(buf); -- cgit