diff options
Diffstat (limited to 'src/userspace/mlibc/string/strcati.c')
-rw-r--r-- | src/userspace/mlibc/string/strcati.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/userspace/mlibc/string/strcati.c b/src/userspace/mlibc/string/strcati.c index 312792f..be39b51 100644 --- a/src/userspace/mlibc/string/strcati.c +++ b/src/userspace/mlibc/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 |