* errno.cc (set_errno_from_win_error): Actually use arguments to strace_printf.

This commit is contained in:
Christopher Faylor 2000-08-31 20:07:53 +00:00
parent 14cf3d1057
commit 83a27d401a
2 changed files with 11 additions and 6 deletions
winsup/cygwin

View File

@ -1,3 +1,8 @@
Thu Aug 31 16:06:21 2000 Christopher Faylor <cgf@cygnus.com>
* errno.cc (set_errno_from_win_error): Actually use arguments to
strace_printf.
2000-08-30 DJ Delorie <dj@redhat.com>
* times.cc (gettimeofday): use GetSystemTimeAsFileTime to avoid a

View File

@ -130,7 +130,7 @@ geterrno_from_win_error (DWORD code, int deferrno)
void __stdcall
seterrno_from_win_error (const char *file, int line, DWORD code)
{
syscall_printf ("%s:%d \b");
syscall_printf ("%s:%d \b", file, line);
set_errno (geterrno_from_win_error (code, EACCES));
return;
}