git: fdisk: use macros from the <sys/diskmbr.h>

Sascha Wildner swildner at crater.dragonflybsd.org
Sat Aug 21 06:34:40 PDT 2021


commit 073d5c5b0bbc5dc1e3f565f8b91cf6d7830d99ec
Author: Alexander Kuleshov <kuleshovmail at gmail.com>
Date:   Mon Dec 28 17:45:34 2015 +0600

    fdisk: use macros from the <sys/diskmbr.h>
    
    The fdisk(8) contains definitions of the C:H:S related macros. In
    the same time, the <sys/diskmbr.h> header provides the same set of
    macros. Let's use it, instead of self written.

Summary of changes:
 sbin/fdisk/fdisk.c | 13 ++++++-------
 1 file changed, 6 insertions(+), 7 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/073d5c5b0bbc5dc1e3f565f8b91cf6d7830d99ec


-- 
DragonFly BSD source repository



More information about the Commits mailing list