]> git.ipfire.org Git - thirdparty/util-linux.git/commit
libfdisk: improve fdisk_save_user_geometry()
authorKarel Zak <kzak@redhat.com>
Wed, 25 Sep 2013 15:11:08 +0000 (17:11 +0200)
committerKarel Zak <kzak@redhat.com>
Wed, 25 Sep 2013 15:11:08 +0000 (17:11 +0200)
commita4347d207290d70a8e110d5cce3fa757b3458c5a
treecffd5d03904cd31e3f07a43f1277d8a34d58cd66
parente5b5a349cd6f5d6cf1b4b084e3ea18e6ec2d3051
libfdisk: improve fdisk_save_user_geometry()

The functions should not overwrite old setting if the new value (C/H/S) is
zero.

Signed-off-by: Karel Zak <kzak@redhat.com>
libfdisk/src/alignment.c