summaryrefslogtreecommitdiffstats
path: root/runtime/string.c
diff options
context:
space:
mode:
authorhunt <hunt>2005-07-01 19:40:50 +0000
committerhunt <hunt>2005-07-01 19:40:50 +0000
commitba36c3ee7f3c807ac07b04bb181a742eae865a60 (patch)
tree1e612d5b70055aa13c84aae40a9e54f349156394 /runtime/string.c
parent07a4738f117eca68c7076ff09b7f93230ab9fedd (diff)
downloadsystemtap-steved-ba36c3ee7f3c807ac07b04bb181a742eae865a60.tar.gz
systemtap-steved-ba36c3ee7f3c807ac07b04bb181a742eae865a60.tar.xz
systemtap-steved-ba36c3ee7f3c807ac07b04bb181a742eae865a60.zip
2005-07-01 Martin Hunt <hunt@redhat.com>
* string.c (_stp_string_init): CAll stp_error() on bad init. * list.c (_stp_list_clear): Call _stp_warn().
Diffstat (limited to 'runtime/string.c')
-rw-r--r--runtime/string.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/string.c b/runtime/string.c
index 6ef26190..ef715b40 100644
--- a/runtime/string.c
+++ b/runtime/string.c
@@ -26,7 +26,7 @@ String _stp_string_init (int num)
String str;
if (num >= STP_NUM_STRINGS || num < 0) {
- _stp_log ("_stp_string_init internal error: requested string exceeded allocated number or was negative");
+ _stp_error ("_stp_string_init internal error: requested string exceeded allocated number or was negative");
return NULL;
}
str = &_stp_string[num][smp_processor_id()];