summaryrefslogtreecommitdiffstats
path: root/runtime/print.c
diff options
context:
space:
mode:
authorDavid Smith <dsmith@redhat.com>2009-04-02 10:16:35 -0500
committerDavid Smith <dsmith@redhat.com>2009-04-02 10:16:35 -0500
commit9b23198d73b782bc05dc2b834c7db3afbdefda86 (patch)
tree63ed86aec9f2ac155158accb72add6af73a416b0 /runtime/print.c
parent2e07d704dc5d7304d6a9e666553a1a8ac4382730 (diff)
downloadsystemtap-steved-9b23198d73b782bc05dc2b834c7db3afbdefda86.tar.gz
systemtap-steved-9b23198d73b782bc05dc2b834c7db3afbdefda86.tar.xz
systemtap-steved-9b23198d73b782bc05dc2b834c7db3afbdefda86.zip
Renamed STP_OLD_TRANSPORT to STP_TRANSPORT_VERSION.
2009-04-02 David Smith <dsmith@redhat.com> * runtime.h: Defines STP_TRANSPORT_VERSION instead of STP_OLD_TRANSPORT. * staprun/staprun.h (STP_OLD_TRANSPORT): Ditto. * print.c: Changed STP_OLD_TRANSPORT to STP_TRANSPORT_VERSION. * staprun/mainloop.c (stp_main_loop): Ditto. * transport/transport.c: Ditto. * transport/transport.h: Ditto. * transport/transport_msgs.h: Ditto. * transport/utt.h: Ditto.
Diffstat (limited to 'runtime/print.c')
-rw-r--r--runtime/print.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/print.c b/runtime/print.c
index fa517cb5..2e205f10 100644
--- a/runtime/print.c
+++ b/runtime/print.c
@@ -90,7 +90,7 @@ static void _stp_print_cleanup (void)
/* The relayfs API changed between 2.6.15 and 2.6.16. */
/* Use the appropriate print flush function. */
-#ifdef STP_OLD_TRANSPORT
+#if STP_TRANSPORT_VERSION == 1
#include "print_old.c"
#else
#include "print_new.c"