summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Zeuthen <zeuthen@gmail.com>2013-03-18 21:31:40 -0700
committerDavid Zeuthen <zeuthen@gmail.com>2013-03-18 21:40:09 -0700
commit1f2250d4fa13d1c6c9f9ff0cd11b94115780a53a (patch)
treef37cbf31c0f29f9d73749e061e0cf795076ed8e1
parentd2a937d30eaaef1462ff7370603bbaae9344c0a7 (diff)
downloadudisks-2-0.tar.gz
Properly identify firewire devices as non-system devicesudisks-2-0
This was reported in bug 62077. https://bugs.freedesktop.org/show_bug.cgi?id=62077 Signed-off-by: David Zeuthen <zeuthen@gmail.com>
-rw-r--r--src/udiskslinuxblock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/udiskslinuxblock.c b/src/udiskslinuxblock.c
index 61e92fd..27c2f47 100644
--- a/src/udiskslinuxblock.c
+++ b/src/udiskslinuxblock.c
@@ -274,7 +274,7 @@ update_hints (UDisksLinuxBlock *block,
connection_bus = udisks_drive_get_connection_bus (drive);
removable = udisks_drive_get_media_removable (drive);
if (removable ||
- (g_strcmp0 (connection_bus, "usb") == 0 || g_strcmp0 (connection_bus, "firewire") == 0) ||
+ (g_strcmp0 (connection_bus, "usb") == 0 || g_strcmp0 (connection_bus, "ieee1394") == 0) ||
(g_str_has_prefix (device_file, "/dev/mmcblk") || g_str_has_prefix (device_file, "/dev/mspblk")))
{
hint_system = FALSE;