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 <[email protected]>
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user