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/fhandler_tty.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/fhandler_tty.cc')
-rw-r--r-- | winsup/cygwin/fhandler_tty.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/winsup/cygwin/fhandler_tty.cc b/winsup/cygwin/fhandler_tty.cc index f08bbc6..a6eaefb 100644 --- a/winsup/cygwin/fhandler_tty.cc +++ b/winsup/cygwin/fhandler_tty.cc @@ -106,13 +106,13 @@ fhandler_tty_common::__acquire_output_mutex (const char *fn, int ln, DWORD ms) { if (strace.active) - strace.prntf (_STRACE_TERMIOS, "%F (%d): tty output_mutex: waiting %d ms", fn, ln, ms); + strace.prntf (_STRACE_TERMIOS, fn, "(%d): tty output_mutex: waiting %d ms", ln, ms); DWORD res = WaitForSingleObject (output_mutex, ms); if (res == WAIT_OBJECT_0) { #ifndef DEBUGGING if (strace.active) - strace.prntf (_STRACE_TERMIOS, "%F (%d): tty output_mutex: acquired", fn, ln, res); + strace.prntf (_STRACE_TERMIOS, fn, "(%d): tty output_mutex: acquired", ln, res); #else ostack[osi].fn = fn; ostack[osi].ln = ln; @@ -131,7 +131,7 @@ fhandler_tty_common::__release_output_mutex (const char *fn, int ln) { #ifndef DEBUGGING if (strace.active) - strace.prntf (_STRACE_TERMIOS, "%F (%d): tty output_mutex released", fn, ln); + strace.prntf (_STRACE_TERMIOS, fn, "(%d): tty output_mutex released", ln); #else if (osi > 0) osi--; |