explorer: add a trace for new hal-devices
Detlef Riekenberg
wine.dev at web.de
Sun Mar 11 11:41:33 CDT 2007
explorer: add a trace for new hal-devices
--
By by ... Detlef
-------------- next part --------------
>From 06cd2d3e9e8538e7e33c5d7cf375226e32a177d1 Mon Sep 17 00:00:00 2001
From: Detlef Riekenberg <wine.dev at web.de>
Date: Sun, 11 Mar 2007 17:29:51 +0100
Subject: [PATCH] explorer: add a trace for new devices (hal)
---
programs/explorer/hal.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/programs/explorer/hal.c b/programs/explorer/hal.c
index 7cd1a1d..47b9923 100644
--- a/programs/explorer/hal.c
+++ b/programs/explorer/hal.c
@@ -114,6 +114,8 @@ static void new_device( LibHalContext *c
DBusError error;
char *parent, *mount_point, *device, *type;
+ WINE_TRACE( "%s\n", wine_dbgstr_a(udi) );
+
p_dbus_error_init( &error );
if (!(device = p_libhal_device_get_property_string( ctx, udi, "block.device", &error )))
@@ -150,7 +152,7 @@ static void removed_device( LibHalContex
{
DBusError error;
- WINE_TRACE( "removed %s\n", wine_dbgstr_a(udi) );
+ WINE_TRACE( "%s\n", wine_dbgstr_a(udi) );
if (remove_dos_device( udi ))
{
--
1.4.1
More information about the wine-patches
mailing list