diff options
Diffstat (limited to 'plugins/mm-plugin-gobi.c')
-rw-r--r-- | plugins/mm-plugin-gobi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mm-plugin-gobi.c b/plugins/mm-plugin-gobi.c index 4d8229c8..128ba838 100644 --- a/plugins/mm-plugin-gobi.c +++ b/plugins/mm-plugin-gobi.c @@ -224,7 +224,7 @@ grab_port (MMPlugin *plugin, } sysfs_path = g_udev_device_get_sysfs_path (physdev); - if (!devfile) { + if (!sysfs_path) { g_set_error (error, 0, 0, "Could not get port's physical device sysfs path."); goto out; } |