diff options
author | Marvin Borner | 2019-10-31 17:47:40 +0100 |
---|---|---|
committer | GitHub | 2019-10-31 17:47:40 +0100 |
commit | c7e755cb843593db1eedb26c5c24932bbe743745 (patch) | |
tree | ad14da17e6d0d883e68cc6eacc99ae522036dda8 /src/kernel/commands/command.c | |
parent | fd4f0a11126a20e75d72f8f2e6d418598fd5f37d (diff) | |
parent | 40a214f3c69a3d7da8c2f9bed5038dfa0ab72d4b (diff) |
Merged pull request usermode
Added usermode
Diffstat (limited to 'src/kernel/commands/command.c')
-rw-r--r-- | src/kernel/commands/command.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kernel/commands/command.c b/src/kernel/commands/command.c index 2334219..1118b29 100644 --- a/src/kernel/commands/command.c +++ b/src/kernel/commands/command.c @@ -8,7 +8,7 @@ int32_t starts_with(const char *a, const char *b) { size_t length_pre = strlen(b); size_t length_main = strlen(a); - return length_main < length_pre ? 0 : memory_compare(b, a, length_pre) == 0; + return length_main < length_pre ? 0 : memcmp(b, a, length_pre) == 0; } void exec_command(char *command) { |