diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index 4729779e2..f5c159f42 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,7 @@ +2005-08-22 Corinna Vinschen + + * mtinfo.h (mtinfo_drive::error): Fix argument bug in debug_printf call. + 2005-08-20 Christopher Faylor * cygerrno.h (geterrno_from_win_error): Change declaration to default diff --git a/winsup/cygwin/mtinfo.h b/winsup/cygwin/mtinfo.h index dd78c7f24..66e74cc33 100644 --- a/winsup/cygwin/mtinfo.h +++ b/winsup/cygwin/mtinfo.h @@ -84,7 +84,7 @@ class mtinfo_drive inline int error (const char *str) { if (lasterr) - debug_printf ("%s: Win32 error %d", lasterr); + debug_printf ("%s: Win32 error %d", str, lasterr); return lasterr; } inline bool get_feature (DWORD parm)