diff options
author | David Sommerseth <davids@redhat.com> | 2010-02-05 18:16:43 +0100 |
---|---|---|
committer | David Sommerseth <davids@redhat.com> | 2010-02-05 18:16:43 +0100 |
commit | 5abd4b52f056ba09b1c134870586393a223ccc79 (patch) | |
tree | 3fb191193bcd013805aaab92a2b595203d78880e /src/dmidecode.c | |
parent | 5ebf67efee2893c4d3dc60ec31a0efeb0894d245 (diff) | |
download | python-dmidecode-5abd4b52f056ba09b1c134870586393a223ccc79.tar.gz python-dmidecode-5abd4b52f056ba09b1c134870586393a223ccc79.tar.xz python-dmidecode-5abd4b52f056ba09b1c134870586393a223ccc79.zip |
Removed not needed \n from log_append() entries
Diffstat (limited to 'src/dmidecode.c')
-rw-r--r-- | src/dmidecode.c | 6 |
1 files changed, 3 insertions, 3 deletions
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); |