summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
Diffstat (limited to 'sys')
-rw-r--r--sys/lib/string/itoa.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/lib/string/itoa.c b/sys/lib/string/itoa.c
index c344161..5a80295 100644
--- a/sys/lib/string/itoa.c
+++ b/sys/lib/string/itoa.c
@@ -46,6 +46,7 @@ itoa_base10_convert(int64_t value, char *buf)
if (value == 0) {
buf[i++] = '0';
buf[i++] = '\0';
+ return buf;
}
if (value < 0) {