]> git.ipfire.org Git - thirdparty/util-linux.git/commit
libfdisk: (dos) Fix printing number of CHS sectors in check error message
authorPali Rohár <pali.rohar@gmail.com>
Tue, 6 Jul 2021 11:51:22 +0000 (13:51 +0200)
committerPali Rohár <pali.rohar@gmail.com>
Thu, 15 Jul 2021 19:49:30 +0000 (21:49 +0200)
commit6fc455661a225877743163a7f35d3bc34bb3a259
tree44416d3d4190189cf86a9ffb802536eb54e0288c
parentb27ebfe59a414471b4068947291b74e66472ce3a
libfdisk: (dos) Fix printing number of CHS sectors in check error message

Number of CHS sectors (indexed from zero) is stored in variable 'real_s'.
In variable 's' is stored in high 2 bits number of CHS cylinders.

Signed-off-by: Pali Rohár <pali.rohar@gmail.com>
libfdisk/src/dos.c