services: Mention the unkown type in the error message

André Hentschel nerv at
Mon Nov 1 13:37:43 CDT 2010

just got that message and need to modify the code that way to see what type it is.
(it was type 3 which still makes me wonder)
 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..9920f15 100644
--- a/programs/services/services.c
+++ b/programs/services/services.c
@@ -329,7 +329,7 @@ BOOL validate_service_config(struct service_entry *entry)
-        WINE_ERR("Service %s has an unknown service type\n", wine_dbgstr_w(entry->name));
+        WINE_ERR("Service %s has an unknown service type (%x)\n", wine_dbgstr_w(entry->name), entry->config.dwServiceType);
         return FALSE;

Best Regards, André Hentschel

More information about the wine-patches mailing list