diff options
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 aa8a520d..f340a3a1 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(_stp_tport, buf, len + 1); + ret =_stp_transport_write(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] = ' '; - ret = _stp_transport_write(_stp_tport, buf, _stp_pbuf_len[cpu] + TIMESTAMP_SIZE + 1); + ret = _stp_transport_write(buf, _stp_pbuf_len[cpu] + TIMESTAMP_SIZE + 1); if (unlikely(ret < 0)) atomic_inc (&_stp_transport_failures); |