From 709a1d41d95438df305fa220cc32610f1bb6ea8e Mon Sep 17 00:00:00 2001 From: hunt Date: Fri, 19 Aug 2005 11:11:51 +0000 Subject: 2005-08-19 Martin Hunt * print.c: Change ifdefs to STP_RELAYFS. * runtime.h: Ditto. * io.c (_stp_vlog): Call _stp_write instead of _stp_ctrl_send. * Makefile: Don't build stp-control. * README.doc: Update. * TODO: Update. --- runtime/print.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'runtime/print.c') diff --git a/runtime/print.c b/runtime/print.c index 2e3d539c..794cd273 100644 --- a/runtime/print.c +++ b/runtime/print.c @@ -25,7 +25,7 @@ static int _stp_pbuf_len[NR_CPUS]; -#ifdef STP_NETLINK_ONLY +#ifndef STP_RELAYFS #define STP_PRINT_BUF_START 0 /** Size of buffer, not including terminating NULL */ @@ -58,7 +58,7 @@ void _stp_print_flush (void) *buf = 0; } -#else /* ! STP_NETLINK_ONLY */ +#else /* STP_RELAYFS */ /* size of timestamp, in bytes, including space */ #define TIMESTAMP_SIZE 11 @@ -102,7 +102,7 @@ void _stp_print_flush (void) _stp_pbuf_len[cpu] = 0; *ptr = 0; } -#endif /* STP_NETLINK_ONLY */ +#endif /* STP_RELAYFS */ /** Print into the print buffer. * Like printf, except output goes to the print buffer. -- cgit