summaryrefslogtreecommitdiffstats
path: root/src/dmidecodemodule.c
diff options
context:
space:
mode:
authorDavid Sommerseth <davids@redhat.com>2010-02-05 18:16:43 +0100
committerDavid Sommerseth <davids@redhat.com>2010-02-05 18:16:43 +0100
commit5abd4b52f056ba09b1c134870586393a223ccc79 (patch)
tree3fb191193bcd013805aaab92a2b595203d78880e /src/dmidecodemodule.c
parent5ebf67efee2893c4d3dc60ec31a0efeb0894d245 (diff)
downloadpython-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/dmidecodemodule.c')
-rw-r--r--src/dmidecodemodule.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/dmidecodemodule.c b/src/dmidecodemodule.c
index dc00279..1056a8f 100644
--- a/src/dmidecodemodule.c
+++ b/src/dmidecodemodule.c
@@ -67,7 +67,7 @@ static void init(options *opt)
/* sanity check */
if(sizeof(u8) != 1 || sizeof(u16) != 2 || sizeof(u32) != 4 || '\0' != 0) {
log_append(opt->logdata, LOGFL_NORMAL, LOG_WARNING,
- "%s: compiler incompatibility\n", "dmidecodemodule");
+ "%s: compiler incompatibility", "dmidecodemodule");
}
}
@@ -79,11 +79,11 @@ int parse_opt_type(Log_t *logp, const char *arg)
val = strtoul(arg, &next, 0);
if(next == arg) {
- log_append(logp, LOGFL_NODUPS, LOG_ERR, "Invalid type keyword: %s\n", arg);
+ log_append(logp, LOGFL_NODUPS, LOG_ERR, "Invalid type keyword: %s", arg);
return -1;
}
if(val > 0xff) {
- log_append(logp, LOGFL_NODUPS, LOG_ERR, "Invalid type number: %i\n", val);
+ log_append(logp, LOGFL_NODUPS, LOG_ERR, "Invalid type number: %i", val);
return -1;
}