aboutsummaryrefslogtreecommitdiff
path: root/plugins/option/mm-plugin-hso.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/option/mm-plugin-hso.c')
-rw-r--r--plugins/option/mm-plugin-hso.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/option/mm-plugin-hso.c b/plugins/option/mm-plugin-hso.c
index f80540a5..9d8cdca1 100644
--- a/plugins/option/mm-plugin-hso.c
+++ b/plugins/option/mm-plugin-hso.c
@@ -60,7 +60,7 @@ grab_port (MMPlugin *self,
gchar *devfile;
MMPortType port_type;
- port = mm_port_probe_get_port (probe); /* transfer none */
+ port = mm_port_probe_peek_port (probe);
subsys = mm_port_probe_get_port_subsys (probe);
name = mm_port_probe_get_port_name (probe);