* mtinfo.h (mtinfo_drive::error): Fix argument bug in debug_printf call.

This commit is contained in:
Corinna Vinschen 2005-08-22 16:12:01 +00:00
parent acc12b15a1
commit b575e059ac
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2005-08-22 Corinna Vinschen <corinna@vinschen.de>
* mtinfo.h (mtinfo_drive::error): Fix argument bug in debug_printf call.
2005-08-20 Christopher Faylor <cgf@timesys.com>
* cygerrno.h (geterrno_from_win_error): Change declaration to default

View File

@ -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)