services: Mention the unkown type in the error message (try 2)

André Hentschel nerv at dawncrow.de
Mon Nov 1 15:57:23 CDT 2010


try2: added 0x before hex output, mentioned by KittyCat on IRC
---
 programs/services/services.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/programs/services/services.c b/programs/services/services.c
index 1ecf30b..eab532f 100644
--- a/programs/services/services.c
+++ b/programs/services/services.c
@@ -329,7 +329,7 @@ BOOL validate_service_config(struct service_entry *entry)
         }
         break;
     default:
-        WINE_ERR("Service %s has an unknown service type\n", wine_dbgstr_w(entry->name));
+        WINE_ERR("Service %s has an unknown service type (0x%x)\n", wine_dbgstr_w(entry->name), entry->config.dwServiceType);
         return FALSE;
     }
 
-- 

Best Regards, André Hentschel



More information about the wine-patches mailing list