summaryrefslogtreecommitdiffstats
path: root/runtime/print.c
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/print.c')
-rw-r--r--runtime/print.c4
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;
}