[gnome-settings-daemon] [mediakeys] Make eject behave better on OpenBSD



commit 4492beee1968dc7087455c1497d6f217df8e6b68
Author: Jasper Lievisse Adriaanse <jasper humppa nl>
Date:   Mon Nov 16 19:44:10 2009 +0100

    [mediakeys] Make eject behave better on OpenBSD
    
    Closes bug #598573.

 plugins/media-keys/gsd-media-keys-manager.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plugins/media-keys/gsd-media-keys-manager.c b/plugins/media-keys/gsd-media-keys-manager.c
index 4b0f834..0d44b5f 100644
--- a/plugins/media-keys/gsd-media-keys-manager.c
+++ b/plugins/media-keys/gsd-media-keys-manager.c
@@ -64,7 +64,7 @@
 #define MAX_VOLUME 65536.0
 
 #if defined(__OpenBSD__)
-# define EJECT_COMMAND "eject -t /dev/cd0"
+# define EJECT_COMMAND "eject -t /dev/rcd0c"
 #else
 # define EJECT_COMMAND "eject -T"
 #endif



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]