Index: /trunk/src/VBox/Runtime/include/internal/magics.h
===================================================================
--- /trunk/src/VBox/Runtime/include/internal/magics.h	(revision 30934)
+++ /trunk/src/VBox/Runtime/include/internal/magics.h	(revision 30935)
@@ -103,6 +103,4 @@
 /** Magic for the event semaphore structure. (Neil Gaiman) */
 #define RTSEMEVENT_MAGIC                UINT32_C(0x19601110)
-/** Dead magic value for event semaphore structures. */
-#define RTSEMEVENT_MAGIC_DEAD           UINT32_C(0x19930517)
 /** Magic for the multiple release event semaphore structure. (Isaac Asimov) */
 #define RTSEMEVENTMULTI_MAGIC           UINT32_C(0x19200102)
Index: /trunk/src/VBox/Runtime/r0drv/solaris/semevent-r0drv-solaris.c
===================================================================
--- /trunk/src/VBox/Runtime/r0drv/solaris/semevent-r0drv-solaris.c	(revision 30934)
+++ /trunk/src/VBox/Runtime/r0drv/solaris/semevent-r0drv-solaris.c	(revision 30935)
@@ -119,5 +119,5 @@
     ASMAtomicDecU32(&pThis->cRefs);
 
-    pThis->u32Magic = RTSEMEVENT_MAGIC_DEAD; /* make the handle invalid */
+    pThis->u32Magic = ~RTSEMEVENT_MAGIC; /* make the handle invalid */
     if (pThis->cWaiters > 0)
     {
