aboutsummaryrefslogtreecommitdiff
path: root/src/kernel/lib/string/strcati.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/lib/string/strcati.c')
-rw-r--r--src/kernel/lib/string/strcati.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/kernel/lib/string/strcati.c b/src/kernel/lib/string/strcati.c
index 9ee3a43..5dab283 100644
--- a/src/kernel/lib/string/strcati.c
+++ b/src/kernel/lib/string/strcati.c
@@ -2,7 +2,8 @@
void strcati(char *dest, const char *orig)
{
- size_t s_orig = strlen(orig);
- strdisp(dest, (int) s_orig);
- for (size_t i = 0; i < s_orig; i++) dest[i] = orig[i];
+ size_t s_orig = strlen(orig);
+ strdisp(dest, (int)s_orig);
+ for (size_t i = 0; i < s_orig; i++)
+ dest[i] = orig[i];
} \ No newline at end of file