summaryrefslogtreecommitdiffstats
path: root/dbus/dbus-sysdeps-win.c
diff options
context:
space:
mode:
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