From 08e16e7862a63979dbc34feb4c09a42c8919c03e Mon Sep 17 00:00:00 2001 From: Sebastian Reichel Date: Sun, 31 Jan 2016 00:35:45 +0100 Subject: n900: fix debug message This debug message is supposed to contain the interface name instead of some string pointer. --- plugins/n900.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/n900.c') diff --git a/plugins/n900.c b/plugins/n900.c index bfce0901..0f2cb2cd 100644 --- a/plugins/n900.c +++ b/plugins/n900.c @@ -519,7 +519,7 @@ static int n900_enable(struct ofono_modem *modem) { struct isi_data *isi = ofono_modem_get_data(modem); - DBG("modem=%p with %p", modem, isi ? isi->ifname : NULL); + DBG("modem=%p with %s", modem, isi ? isi->ifname : NULL); isi->enabled = TRUE; @@ -530,7 +530,7 @@ static int n900_disable(struct ofono_modem *modem) { struct isi_data *isi = ofono_modem_get_data(modem); - DBG("modem=%p with %p", modem, isi ? isi->ifname : NULL); + DBG("modem=%p with %s", modem, isi ? isi->ifname : NULL); isi->enabled = FALSE; -- cgit v1.2.3