diff options
author | Alex AUVOLAT <alexis211@gmail.com> | 2012-05-18 14:47:44 +0200 |
---|---|---|
committer | Alex AUVOLAT <alexis211@gmail.com> | 2012-05-18 14:47:44 +0200 |
commit | 7d5a38ada35ac196919c26675f211adb995b84ae (patch) | |
tree | 60d9733a1ca44ff873dbac610ea367863d5c648b /src/kernel/lib | |
parent | 1ecb3fb821f49450ba4b08ad7d7a23d3acb75c47 (diff) | |
download | TCE-7d5a38ada35ac196919c26675f211adb995b84ae.tar.gz TCE-7d5a38ada35ac196919c26675f211adb995b84ae.zip |
Added initrd. Status: VFS support, totally useless shell.
Diffstat (limited to 'src/kernel/lib')
-rw-r--r-- | src/kernel/lib/std.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kernel/lib/std.cpp b/src/kernel/lib/std.cpp index 4407f55..c25f59c 100644 --- a/src/kernel/lib/std.cpp +++ b/src/kernel/lib/std.cpp @@ -16,7 +16,7 @@ void abort() { int strlen(const char *str) { int i = 0; while (str[i++]); - return i; + return i-1; } char *strchr(const char *str, char c) { |