From: Benno Schulenberg Date: Wed, 29 Oct 2025 11:03:56 +0000 (+0100) Subject: losetup: sort 'O' correctly for the mutual-exclusive check to work X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=86f94ecda56a2af176a785fbaa26b4260c6b7b85;p=thirdparty%2Futil-linux.git losetup: sort 'O' correctly for the mutual-exclusive check to work The options need to be in strict ascending order. Signed-off-by: Benno Schulenberg --- diff --git a/sys-utils/losetup.c b/sys-utils/losetup.c index c2eec5600..2a3257473 100644 --- a/sys-utils/losetup.c +++ b/sys-utils/losetup.c @@ -739,7 +739,7 @@ int main(int argc, char **argv) static const ul_excl_t excl[] = { /* rows and cols in ASCII order */ { 'D','a','c','d','f','j',OPT_REMOVE }, { 'D','c','d','f','l',OPT_REMOVE }, - { 'D','c','d','f','O',OPT_REMOVE }, + { 'D','O','c','d','f',OPT_REMOVE }, { 'J',OPT_RAW }, { 0 } };