diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2005-08-22 16:12:01 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2005-08-22 16:12:01 +0000 |
commit | b575e059ac68ad10624328b2c6ad87f22595c866 (patch) | |
tree | db16772c38e6f1e98ba964fe5e448ed539ecf81d /winsup | |
parent | acc12b15a1084c6f1c97bd2ff0f3823815ef7e89 (diff) | |
download | newlib-b575e059ac68ad10624328b2c6ad87f22595c866.zip newlib-b575e059ac68ad10624328b2c6ad87f22595c866.tar.gz newlib-b575e059ac68ad10624328b2c6ad87f22595c866.tar.bz2 |
* mtinfo.h (mtinfo_drive::error): Fix argument bug in debug_printf call.
Diffstat (limited to 'winsup')
-rw-r--r-- | winsup/cygwin/ChangeLog | 4 | ||||
-rw-r--r-- | winsup/cygwin/mtinfo.h | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index 4729779..f5c159f 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -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 diff --git a/winsup/cygwin/mtinfo.h b/winsup/cygwin/mtinfo.h index dd78c7f..66e74cc 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) |