summaryrefslogtreecommitdiffstats
path: root/dbus/dbus-sysdeps-win.c
diff options
context:
space:
mode:
authorRalf Habacker <ralf.habacker@freenet.de>2007-04-26 09:30:38 +0000
committerRalf Habacker <ralf.habacker@freenet.de>2007-04-26 09:30:38 +0000
commit4bd8418548e668cd3fbf8ea5f6aa21d28e14e386 (patch)
treea0098f26c866766189bb6ecf224fd0d3c83f0c2f /dbus/dbus-sysdeps-win.c
parentc4a5da3e597e5ff782b52e48bc8ed2996ea90fa0 (diff)
* cmake: added debug postfixes to debug exe's for easier debugging.
* dbus\dbus-sysdeps-win.c (_dbus_win_set_error_from_win_error): print error code in case no string message is available.
Diffstat (limited to 'dbus/dbus-sysdeps-win.c')
-rw-r--r--dbus/dbus-sysdeps-win.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dbus/dbus-sysdeps-win.c b/dbus/dbus-sysdeps-win.c
index b86c977b..08ac6a0f 100644
--- a/dbus/dbus-sysdeps-win.c
+++ b/dbus/dbus-sysdeps-win.c
@@ -2510,7 +2510,7 @@ _dbus_win_set_error_from_win_error (DBusError *error,
dbus_set_error (error, "win32.error", "%s", msg_copy);
}
else
- dbus_set_error_const (error, "win32.error", "Unknown error code or FormatMessage failed");
+ dbus_set_error (error, "win32.error", "Unknown error code %d or FormatMessage failed", code);
}
void