summaryrefslogtreecommitdiff
path: root/drivers/stemodem
diff options
context:
space:
mode:
authorRĂ©mi Denis-Courmont <remi.denis-courmont@nokia.com>2010-11-25 12:51:03 +0200
committerDenis Kenzior <denkenz@gmail.com>2010-11-26 13:49:19 -0600
commit44c6918081eaf79dc4002f7603dae60834e4cc76 (patch)
tree6141cc43c96c29763af7ce8eee1a97061edd7e62 /drivers/stemodem
parent6a6f7bed3cfe54c227b6a179f516fc75a43797fb (diff)
ste: Remove stray newlines in messages sent to log
Diffstat (limited to 'drivers/stemodem')
-rw-r--r--drivers/stemodem/caif_rtnl.c2
-rw-r--r--drivers/stemodem/gprs-context.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/stemodem/caif_rtnl.c b/drivers/stemodem/caif_rtnl.c
index 4c004464..c327d578 100644
--- a/drivers/stemodem/caif_rtnl.c
+++ b/drivers/stemodem/caif_rtnl.c
@@ -155,7 +155,7 @@ static int add_attribute(struct nlmsghdr *n, unsigned int maxlen, int type,
struct rtattr *rta;
if ((NLMSG_ALIGN(n->nlmsg_len) + RTA_ALIGN(len)) > maxlen) {
- DBG("attribute to large for message %d %d %d\n",
+ DBG("attribute to large for message %d %d %d",
n->nlmsg_len, len, maxlen);
return -1;
}
diff --git a/drivers/stemodem/gprs-context.c b/drivers/stemodem/gprs-context.c
index 05fec3f0..1675cd8d 100644
--- a/drivers/stemodem/gprs-context.c
+++ b/drivers/stemodem/gprs-context.c
@@ -130,7 +130,7 @@ static void text_handler(GMarkupParseContext *context,
static void error_handler(GMarkupParseContext *context,
GError *error, gpointer user_data)
{
- DBG("Error parsing xml response from eppsd: %s\n",
+ DBG("Error parsing xml response from eppsd: %s",
error->message);
}