summaryrefslogtreecommitdiffstats
path: root/runtime/io.c
diff options
context:
space:
mode:
authorhunt <hunt>2005-08-01 21:39:52 +0000
committerhunt <hunt>2005-08-01 21:39:52 +0000
commit3b971328035c179c41e6175a4feb3a5683588adf (patch)
treee9b7648e8a77561f0e9d650669e297d95ffc49fc /runtime/io.c
parent3dae777808caaa284988c961679c4450cf9a8af8 (diff)
downloadsystemtap-steved-3b971328035c179c41e6175a4feb3a5683588adf.tar.gz
systemtap-steved-3b971328035c179c41e6175a4feb3a5683588adf.tar.xz
systemtap-steved-3b971328035c179c41e6175a4feb3a5683588adf.zip
2005-08-01 Martin Hunt <hunt@redhat.com>
* io.c (_stp_vlog): Use _stp_pid instead os _stp_tport->pid. * print.c (_stp_print_flush): Don't need _stp_tport. *runtime.h (probe_start): Just call _stp_transport_init(). (probe_exit): Just call _stp_transport_close().
Diffstat (limited to 'runtime/io.c')
-rw-r--r--runtime/io.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/io.c b/runtime/io.c
index a8cb4e43..1d378472 100644
--- a/runtime/io.c
+++ b/runtime/io.c
@@ -55,7 +55,7 @@ static void _stp_vlog (enum code type, char *func, int line, const char *fmt, va
}
buf[num + start] = '\0';
- _stp_ctrl_send(STP_REALTIME_DATA, buf, start + num + 1, _stp_tport->pid);
+ _stp_ctrl_send(STP_REALTIME_DATA, buf, start + num + 1, _stp_pid);
#ifndef STP_NETLINK_ONLY
_stp_string_cat_cstr(_stp_stdout,buf);
_stp_print_flush();