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:
X512
2020-03-23 01:30:23 +00:00
committed by waddlesplash
parent f7db27344f
commit 668ecf4f09
+1 -1
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;