]> 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 12:05:02 +0000 (13:05 +0100)
commit4b964632d1692470357e8afaa37c22d8050b7006
tree39fc01f67990246286af3a0176194f03b82b0446
parent576e957e8abf8e09404753e30fa6a4670d3be64f
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