File util-linux-loop-reuse-20.patch of Package util-linux.4768

From f3b0d1505ed21a4284a4fe54d2d9b7dea6f4b62b Mon Sep 17 00:00:00 2001
From: Stanislav Brabec <sbrabec@suse.cz>
Date: Wed, 5 Oct 2016 20:55:42 +0200
Subject: [PATCH 20/20] losetup --nooverlap: fix typo

Option is documented and used as --nooverlap, bud coded as --nooverlaps.
--nooverlap is considered as shortened option, making the typo
invisible.

Signed-off-by: Stanislav Brabec <sbrabec@suse.cz>
---
 sys-utils/losetup.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: util-linux-2.28/sys-utils/losetup.c
===================================================================
--- util-linux-2.28.orig/sys-utils/losetup.c
+++ util-linux-2.28/sys-utils/losetup.c
@@ -581,7 +581,7 @@ int main(int argc, char **argv)
 		{ "detach", 1, 0, 'd' },
 		{ "detach-all", 0, 0, 'D' },
 		{ "find", 0, 0, 'f' },
-		{ "nooverlaps", 0, 0, OPT_NOOVERLAP },
+		{ "nooverlap", 0, 0, OPT_NOOVERLAP },
 		{ "help", 0, 0, 'h' },
 		{ "associated", 1, 0, 'j' },
 		{ "json", 0, 0, 'J' },
openSUSE Build Service is sponsored by