aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/libqmi-glib/qmi-utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libqmi-glib/qmi-utils.c b/src/libqmi-glib/qmi-utils.c
index 5d399a6..8a059ba 100644
--- a/src/libqmi-glib/qmi-utils.c
+++ b/src/libqmi-glib/qmi-utils.c
@@ -740,7 +740,7 @@ __qmi_utils_get_driver (const gchar *cdc_wdm_path)
* /sys/bus/usb/drivers/qmi_wwan
*/
tmp = g_strdup_printf ("/sys/class/%s/%s/device/driver", subsystems[i], device_basename);
- path = canonicalize_file_name (tmp);
+ path = realpath (tmp, NULL);
g_free (tmp);
if (!path)