From 3b971328035c179c41e6175a4feb3a5683588adf Mon Sep 17 00:00:00 2001 From: hunt Date: Mon, 1 Aug 2005 21:39:52 +0000 Subject: 2005-08-01 Martin Hunt * 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(). --- runtime/io.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'runtime/io.c') 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(); -- cgit