diff options
author | hunt <hunt> | 2005-07-08 19:32:14 +0000 |
---|---|---|
committer | hunt <hunt> | 2005-07-08 19:32:14 +0000 |
commit | a91f889efcff54c4e094a86670f826169cbf98d6 (patch) | |
tree | f5d2651acfee64805a9c80de033dbbbecb2780a6 /runtime/print.c | |
parent | d533bbb2258a1cb094eb950ff25ee985d5f11715 (diff) | |
download | systemtap-steved-a91f889efcff54c4e094a86670f826169cbf98d6.tar.gz systemtap-steved-a91f889efcff54c4e094a86670f826169cbf98d6.tar.xz systemtap-steved-a91f889efcff54c4e094a86670f826169cbf98d6.zip |
2005-07-08 Martin Hunt <hunt@redhat.com>
* print.c (_stp_print_flush): Rename "t" to "_stp_tport".
* io.c (_stp_vlog): Ditto.
Diffstat (limited to 'runtime/print.c')
-rw-r--r-- | runtime/print.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/print.c b/runtime/print.c index 3128e866..1eb9934f 100644 --- a/runtime/print.c +++ b/runtime/print.c @@ -45,7 +45,7 @@ void _stp_print_flush (void) if (len == 0) return; - ret =_stp_transport_write(t, buf, len + 1); + ret =_stp_transport_write(_stp_tport, buf, len + 1); if (unlikely(ret < 0)) atomic_inc (&_stp_transport_failures); @@ -85,7 +85,7 @@ void _stp_print_flush (void) seq = _stp_seq_inc(); scnprintf (buf, TIMESTAMP_SIZE, "%10d", seq); buf[TIMESTAMP_SIZE - 1] = ' '; - _stp_transport_write(t, buf, _stp_pbuf_len[cpu] + TIMESTAMP_SIZE + 1); + _stp_transport_write(_stp_tport, buf, _stp_pbuf_len[cpu] + TIMESTAMP_SIZE + 1); _stp_pbuf_len[cpu] = 0; *ptr = 0; } |