summaryrefslogtreecommitdiff
path: root/sysutils/xfce4-mount-plugin/files/patch-panel-plugin_devices.c
diff options
context:
space:
mode:
authorOlivier Duchateau <olivierd@FreeBSD.org>2017-02-25 16:21:40 +0000
committerOlivier Duchateau <olivierd@FreeBSD.org>2017-02-25 16:21:40 +0000
commit78353b33697b27a94c7817c417d6a6c72d74ab5e (patch)
tree6a6d43255996219db4c5086acc5a3839bca18488 /sysutils/xfce4-mount-plugin/files/patch-panel-plugin_devices.c
parentUpdate to patchlevel 367. (diff)
Update to 1.1.2
Notes
Notes: svn path=/head/; revision=434825
Diffstat (limited to 'sysutils/xfce4-mount-plugin/files/patch-panel-plugin_devices.c')
-rw-r--r--sysutils/xfce4-mount-plugin/files/patch-panel-plugin_devices.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sysutils/xfce4-mount-plugin/files/patch-panel-plugin_devices.c b/sysutils/xfce4-mount-plugin/files/patch-panel-plugin_devices.c
index f53de7e3cdfe..daafbe25e644 100644
--- a/sysutils/xfce4-mount-plugin/files/patch-panel-plugin_devices.c
+++ b/sysutils/xfce4-mount-plugin/files/patch-panel-plugin_devices.c
@@ -1,14 +1,14 @@
---- panel-plugin/devices.c.orig 2014-04-26 21:31:42 UTC
+--- panel-plugin/devices.c.orig 2017-01-28 15:03:36 UTC
+++ panel-plugin/devices.c
-@@ -329,9 +329,11 @@ disk_umount (t_disk *pdisk, char* umount
+@@ -346,9 +346,11 @@ disk_umount (t_disk *pdisk, char* umount
{
DBG("disk_umount: dev=%s, mountpoint=%s, umount_command=%s, show_message_dialog=%d, eject=%d, type=%s", pdisk->device, pdisk->mount_point, umount_command, show_message_dialog, eject, pdisk->mount_info->type);
+#if !defined(__FreeBSD__) || !defined(__DragonFly__)
- if (strstr(pdisk->mount_info->type, "fuse"))
+ if (strstr(pdisk->mount_info->type, "fuse."))
deviceprintf(&tmp, "fusermount -u %m", pdisk->device);
else
+#endif
deviceprintf(&tmp, umount_command, pdisk->device);
-
+
mountpointprintf(&cmd, tmp, pdisk->mount_point);