mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-14 07:19:40 +02:00
Revert "util/nvmutil: fix check in command sanitizer"
This reverts commit b28076557b.
nope. the check was already correct before.
This commit is contained in:
@@ -598,7 +598,7 @@ sanitize_command_index(size_t c)
|
||||
command[c].flags != O_RDWR)
|
||||
err(EINVAL, "invalid cmd.flags setting");
|
||||
|
||||
if (!((PLESEN > LESEN) || (SCHREIB > PLESEN) || (PSCHREIB > SCHREIB)))
|
||||
if (!((PLESEN > LESEN) && (SCHREIB > PLESEN) && (PSCHREIB > SCHREIB)))
|
||||
err(EINVAL, "some rw type integers are the same");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user