summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lib/eeze_disk_mount.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/eeze_disk_mount.c b/src/lib/eeze_disk_mount.c
index 92b938d..4345c63 100644
--- a/src/lib/eeze_disk_mount.c
+++ b/src/lib/eeze_disk_mount.c
@@ -407,7 +407,7 @@ eeze_disk_unmount(Eeze_Disk *disk)
eina_strbuf_string_free(disk->unmount_cmd);
if (disk->mount_wrapper)
eina_strbuf_append_printf(disk->unmount_cmd, "%s ", disk->mount_wrapper);
- eina_strbuf_append_printf(disk->unmount_cmd, EEZE_UNMOUNT_BIN" %s", disk->mount_point);
+ eina_strbuf_append_printf(disk->unmount_cmd, EEZE_UNMOUNT_BIN" %s", eeze_disk_devpath_get(disk));
disk->unmount_cmd_changed = EINA_FALSE;
}