summaryrefslogtreecommitdiffstats
path: root/sysutils/hal/files/patch-tools_hal-storage-eject.c
blob: 730e2a076d1cb63f06a58e7aec02e4eb73939b1d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- tools/hal-storage-eject.c.orig  2008-10-27 13:23:11.000000000 -0400
+++ tools/hal-storage-eject.c   2008-10-27 13:23:23.000000000 -0400
@@ -190,7 +190,7 @@ main (int argc, char *argv[])
                unknown_eject_error ("Cannot obtain lock on /media/.hal-mtab");
            }
            handle_unmount (hal_ctx, 
-                   udi, volume_to_unmount, drive, 
+                   volume_udi, volume_to_unmount, drive, 
                    libhal_volume_get_device_file (volume_to_unmount), 
                    invoked_by_uid, invoked_by_syscon_name,
                    FALSE, FALSE); /* use neither lazy nor force */