diff options
Diffstat (limited to 'mdk-stage1')
-rw-r--r-- | mdk-stage1/init.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mdk-stage1/init.c b/mdk-stage1/init.c index 27311c98d..47f519f7d 100644 --- a/mdk-stage1/init.c +++ b/mdk-stage1/init.c @@ -274,8 +274,9 @@ char* strcat(register char* s,register const char* t) { char *dest=s; s+=strlen(s); - for (;;) + for (;;) { if (!(*s = *t)) break; ++s; ++t; + } return dest; } |