summaryrefslogtreecommitdiff
path: root/multimedia/kdemultimedia3/files/patch-plat_freebsd.c
blob: dd6c062ab01dcef3f7fb2ede7fa6a441f8607f22 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- kscd/libwm/plat_freebsd.c	Tue Apr 10 13:34:52 2001
+++ kscd/libwm/plat_freebsd.c.new	Thu Nov 29 22:20:56 2001
@@ -159,6 +159,8 @@
     wm_lib_message(WM_MSG_LEVEL_DEBUG|WM_MSG_CLASS, "calling wmcd_open()\n");
     status = wmcd_open( d ); /* open it as usual */
     wm_susleep( 1000 );
+    if(status == -EACCES || status == 1)
+        return status;
   } while ( status != 0 );
   return status;
 } /* wmcd_reopen() */