summaryrefslogtreecommitdiffstats
path: root/runtime
diff options
context:
space:
mode:
authorhunt <hunt>2005-09-12 20:38:05 +0000
committerhunt <hunt>2005-09-12 20:38:05 +0000
commit58a2e7fd24e54e5717f9b3181026dfe2dbb41014 (patch)
tree8f98f82982c02084e6b5219ffc9ce740f9d83fb2 /runtime
parentf2d86d715c06913d8bc6b0ad259323b7dfcf70b2 (diff)
downloadsystemtap-steved-58a2e7fd24e54e5717f9b3181026dfe2dbb41014.tar.gz
systemtap-steved-58a2e7fd24e54e5717f9b3181026dfe2dbb41014.tar.xz
systemtap-steved-58a2e7fd24e54e5717f9b3181026dfe2dbb41014.zip
2005-09-12 Martin Hunt <hunt@redhat.com>
* io.c (ERR_STRING): Remove ansi codes. (WARN_STRING): Ditto.
Diffstat (limited to 'runtime')
-rw-r--r--runtime/ChangeLog5
-rw-r--r--runtime/io.c4
2 files changed, 7 insertions, 2 deletions
diff --git a/runtime/ChangeLog b/runtime/ChangeLog
index e7798710..78dd3df7 100644
--- a/runtime/ChangeLog
+++ b/runtime/ChangeLog
@@ -1,5 +1,10 @@
2005-09-12 Martin Hunt <hunt@redhat.com>
+ * io.c (ERR_STRING): Remove ansi codes.
+ (WARN_STRING): Ditto.
+
+2005-09-12 Martin Hunt <hunt@redhat.com>
+
* arith.c (_stp_div64): Check for division by 0 or -1 first.
This simplifies things and removes the possibility of x86_64
trying LLONG_MIN/-1 and faulting.
diff --git a/runtime/io.c b/runtime/io.c
index 1e3d51e4..0e29b2f1 100644
--- a/runtime/io.c
+++ b/runtime/io.c
@@ -24,8 +24,8 @@ void _stp_string_cat_cstr (String str1, const char *str2);
/** private buffer for _stp_log() */
#define STP_LOG_BUF_LEN 2047
-#define WARN_STRING "\033[33mWARNING: \033[0m"
-#define ERR_STRING "\033[31mERROR: \033[0m"
+#define WARN_STRING "WARNING: "
+#define ERR_STRING "ERROR: "
static char _stp_lbuf[NR_CPUS][STP_LOG_BUF_LEN + 1];