diff options
author | Christopher Faylor <me@cgf.cx> | 2000-08-02 19:26:01 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2000-08-02 19:26:01 +0000 |
commit | 20d7f7583797512876904592d48f54d157d427af (patch) | |
tree | 07e18d4928df850cbdf27ecd9bc82037d17a9629 /winsup/cygwin/errno.cc | |
parent | 5a7b5870ff892b6e2d8293f0453959d717e0973b (diff) | |
download | newlib-20d7f7583797512876904592d48f54d157d427af.zip newlib-20d7f7583797512876904592d48f54d157d427af.tar.gz newlib-20d7f7583797512876904592d48f54d157d427af.tar.bz2 |
* strace.cc (strace::prntf): Make second argument the function name, rather
than use special format options.
(strace::vprntf): Ditto.
(getfunc): New function.
* include/sys/strace.h: Reflect above changes.
* smallprint.c (__small_vsprintf): Eliminate '%F' formatting.
* pinfo.cc (set_myself): Modify for new strace::prntf parameter.
* errno.cc (seterrno_from_win_error): Ditto.
* fhandler_tty.cc (fhandler_tty_common::__acquire_output_mutex): Ditto.
* fhandler_tty.cc (fhandler_tty_common::__release_output_mutex): Ditto.
Diffstat (limited to 'winsup/cygwin/errno.cc')
-rw-r--r-- | winsup/cygwin/errno.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/winsup/cygwin/errno.cc b/winsup/cygwin/errno.cc index 681dfe7..1485c19 100644 --- a/winsup/cygwin/errno.cc +++ b/winsup/cygwin/errno.cc @@ -122,14 +122,14 @@ seterrno_from_win_error (const char *file, int line, int code) if (errmap[i].w != 0) { if (strace.active) - strace.prntf (_STRACE_SYSCALL, "%s:%d seterrno: %d (%s) -> %d", + strace.prntf (_STRACE_SYSCALL, NULL, "%s:%d seterrno: %d (%s) -> %d", file, line, code, errmap[i].s, errmap[i].e); set_errno (errmap[i].e); } else { if (strace.active) - strace.prntf (_STRACE_SYSCALL, "%s:%d seterrno: unknown error %d", file, line, code); + strace.prntf (_STRACE_SYSCALL, NULL, "%s:%d seterrno: unknown error %d", file, line, code); set_errno (EACCES); } } |