From 457519503f25ba52d82a9aba2e6d45367a052471 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Cl=C3=A9ment=20Stenac?= <zorglub@videolan.org>
Date: Sun, 27 Nov 2005 15:27:52 +0000
Subject: [PATCH] Bah.. Fix HAL in libvlc

---
 src/libvlc.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/libvlc.c b/src/libvlc.c
index 33fbeb2c3f..52684e22e3 100644
--- a/src/libvlc.c
+++ b/src/libvlc.c
@@ -2570,7 +2570,7 @@ static void InitDeviceValues( vlc_t *p_vlc )
         return;
     }
     libhal_ctx_set_dbus_connection( ctx, p_connection );
-    if( !libhal_ctx_init( ctx, &error ) )
+    if( libhal_ctx_init( ctx, &error ) )
 #else
     if( ( ctx = hal_initialize( NULL, FALSE ) ) )
 #endif
@@ -2632,7 +2632,7 @@ static void InitDeviceValues( vlc_t *p_vlc )
     }
     else
     {
-        msg_Dbg( p_vlc, "Unable to get HAL device properties" );
+        msg_Warn( p_vlc, "Unable to get HAL device properties" );
     }
 #endif
 }
-- 
2.25.4