summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--runtime/ChangeLog5
-rw-r--r--runtime/io.c7
2 files changed, 5 insertions, 7 deletions
diff --git a/runtime/ChangeLog b/runtime/ChangeLog
index 92db1160..402749db 100644
--- a/runtime/ChangeLog
+++ b/runtime/ChangeLog
@@ -1,3 +1,8 @@
+2006-09-26 Martin Hunt <hunt@redhat.com>
+
+ * io.c (_stp_vlog): Remove ifdef for STP_RELAYFS. Relayfs now
+ behaves the same as procfs.
+
2006-09-22 Martin Hunt <hunt@redhat.com>
* print.c: Replace STP_PRINT_BUF_LEN with STP_BUFFER_SIZE.
diff --git a/runtime/io.c b/runtime/io.c
index b72590f3..846a83d8 100644
--- a/runtime/io.c
+++ b/runtime/io.c
@@ -56,19 +56,12 @@ static void _stp_vlog (enum code type, char *func, int line, const char *fmt, va
}
buf[num + start] = '\0';
-#ifdef STP_RELAYFS
- if (type != DBUG)
- _stp_write(STP_OOB_DATA, buf, start + num + 1);
- _stp_string_cat_cstr(_stp_stdout,buf);
- _stp_print_flush();
-#else
if (type != DBUG)
_stp_write(STP_OOB_DATA, buf, start + num + 1);
else {
_stp_string_cat_cstr(_stp_stdout,buf);
_stp_print_flush();
}
-#endif
}
put_cpu();
}