]> git.ipfire.org Git - thirdparty/util-linux.git/commit
losetup: Fix setting of sizelimit on new loop devices
authorDaniel Drake <dsd@laptop.org>
Fri, 9 Mar 2012 17:56:50 +0000 (17:56 +0000)
committerKarel Zak <kzak@redhat.com>
Tue, 13 Mar 2012 11:21:49 +0000 (12:21 +0100)
commitce65b29ac4f135e5e477bd40fcc194d3ec5236a1
tree429bc50dc0d12a1bdb95d675d497dfd87d287e8a
parentde2174895aa2870610b2495f985dc858a3a15b92
losetup: Fix setting of sizelimit on new loop devices

"losetup --offset 10 --sizelimit 20 foo.img" was producing
a loop device with offset 20 and no sizelimit. Looks like a typo,
fix it.

Signed-off-by: Daniel Drake <dsd@laptop.org>
sys-utils/losetup.c