[PATCH 5/5] mbim: Print the device as a string
Denis Kenzior <[email protected]> Fri, 9 May 2025 15:01:12 -0500
| Newsgroups | dev.linux.lists.ofono |
|---|---|
| Message-ID | <[email protected]> |
Instead of printing 'device' as a pointer, print it as a string:
ofonod[2672]: plugins/mbim.c:mbim_enable() /dev/wwan0mbim0
---
plugins/mbim.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/plugins/mbim.c b/plugins/mbim.c
index fa4a25d58eee..b31f8b66711d 100644
--- a/plugins/mbim.c
+++ b/plugins/mbim.c
@@ -269,7 +269,7 @@ static int mbim_enable(struct ofono_modem *modem)
if (!device)
return -EINVAL;
- DBG("%p", device);
+ DBG("%s", device);
fd = open(device, O_EXCL | O_NONBLOCK | O_RDWR);
if (fd < 0)
return -EIO;
--
2.48.1