diff options
author | Christopher Faylor <me@cgf.cx> | 2000-09-01 00:07:53 +0400 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2000-09-01 00:07:53 +0400 |
commit | 83a27d401a714aed642dc91f12ca7c11642a29a7 (patch) | |
tree | 0b7581fa292767bf6fa2996902d61715ca3c4b93 | |
parent | 14cf3d1057406daeed127fb4af527e51eee0c354 (diff) |
* errno.cc (set_errno_from_win_error): Actually use arguments to strace_printf.
-rw-r--r-- | winsup/cygwin/ChangeLog | 5 | ||||
-rw-r--r-- | winsup/cygwin/errno.cc | 12 |
2 files changed, 11 insertions, 6 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index fd1668aea..c4b383061 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -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 diff --git a/winsup/cygwin/errno.cc b/winsup/cygwin/errno.cc index 8e88cd5b8..52e27fab0 100644 --- a/winsup/cygwin/errno.cc +++ b/winsup/cygwin/errno.cc @@ -102,11 +102,11 @@ errmap[] = X (SETMARK_DETECTED, ESPIPE), X (NO_DATA_DETECTED, ENOSPC), X (POSSIBLE_DEADLOCK, EDEADLOCK), - X (CRC, EIO), - X (NEGATIVE_SEEK, EINVAL), - X (NOT_READY, ENOMEDIUM), - X (DISK_FULL, ENOSPC), - X (NOACCESS, EFAULT), + X (CRC, EIO), + X (NEGATIVE_SEEK, EINVAL), + X (NOT_READY, ENOMEDIUM), + X (DISK_FULL, ENOSPC), + X (NOACCESS, EFAULT), { 0, NULL, 0} }; @@ -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; } |