diff options
author | Sebastian Reichel <sre@ring0.de> | 2016-01-31 00:35:45 +0100 |
---|---|---|
committer | Sebastian Reichel <sre@ring0.de> | 2016-01-31 00:39:45 +0100 |
commit | 08e16e7862a63979dbc34feb4c09a42c8919c03e (patch) | |
tree | 809c78e500042b2e91d2d5b4b9af22b0fb07e153 | |
parent | 5e4ce76bba92f66b9a723c8a80efd3713c210652 (diff) | |
download | ofono-08e16e7862a63979dbc34feb4c09a42c8919c03e.tar.bz2 |
n900: fix debug message
This debug message is supposed to contain the
interface name instead of some string pointer.
-rw-r--r-- | plugins/n900.c | 4 |
1 files changed, 2 insertions, 2 deletions
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; |