Kernel: fix operator priority warning

Pointed by clang.

Change-Id: I16aa242c94abdf1fa22c4651e63c8c236e6c1a82
Reviewed-on: https://review.haiku-os.org/c/haiku/+/2393
Reviewed-by: John Scipione <jscipione@gmail.com>
This commit is contained in:
X512 2020-03-22 11:33:18 +09:00 committed by waddlesplash
parent f7db27344f
commit 668ecf4f09
1 changed files with 1 additions and 1 deletions

View File

@ -227,7 +227,7 @@ next_debugger_command(debugger_command* command, const char* prefix,
else
command = command->next;
while (command != NULL && !strncmp(prefix, command->name, prefixLen) == 0)
while (command != NULL && strncmp(prefix, command->name, prefixLen) != 0)
command = command->next;
return command;