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:
parent
f7db27344f
commit
668ecf4f09
|
@ -227,7 +227,7 @@ next_debugger_command(debugger_command* command, const char* prefix,
|
||||||
else
|
else
|
||||||
command = command->next;
|
command = command->next;
|
||||||
|
|
||||||
while (command != NULL && !strncmp(prefix, command->name, prefixLen) == 0)
|
while (command != NULL && strncmp(prefix, command->name, prefixLen) != 0)
|
||||||
command = command->next;
|
command = command->next;
|
||||||
|
|
||||||
return command;
|
return command;
|
||||||
|
|
Loading…
Reference in New Issue