summaryrefslogtreecommitdiffstats
path: root/runtime/string.c
diff options
context:
space:
mode:
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()];