diff options
author | nyan <nyan@FreeBSD.org> | 2009-03-19 12:31:59 +0000 |
---|---|---|
committer | nyan <nyan@FreeBSD.org> | 2009-03-19 12:31:59 +0000 |
commit | d5c5250d6a9ad48fe677b31dbb321470dcbcc636 (patch) | |
tree | 42abdcb9f5e3b9eca0700df0f3055cb741166a52 /sbin | |
parent | 4bb1b51862a5db7cf39796e5bea23239fbcae622 (diff) | |
download | FreeBSD-src-d5c5250d6a9ad48fe677b31dbb321470dcbcc636.zip FreeBSD-src-d5c5250d6a9ad48fe677b31dbb321470dcbcc636.tar.gz |
Use the common PC98_SID_ACTIVE define instead of a local define.
Diffstat (limited to 'sbin')
-rw-r--r-- | sbin/fdisk_pc98/fdisk.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/sbin/fdisk_pc98/fdisk.c b/sbin/fdisk_pc98/fdisk.c index 161c1f5..b66bad4 100644 --- a/sbin/fdisk_pc98/fdisk.c +++ b/sbin/fdisk_pc98/fdisk.c @@ -84,8 +84,6 @@ struct mboot { static struct mboot mboot; static int fd; -#define ACTIVE 0x80 - static uint dos_cyls; static uint dos_heads; static uint dos_sectors; @@ -520,7 +518,7 @@ change_active(int which) active = -1; for (i = 0; i < NDOSPART; i++) { - if ((partp[i].dp_sid & ACTIVE) == 0) + if ((partp[i].dp_sid & PC98_SID_ACTIVE) == 0) continue; printf("Partition %d is marked active\n", i + 1); if (active == -1) @@ -545,7 +543,7 @@ setactive: active = new; } while (!ok("Are you happy with this choice")); if (active > 0 && active <= 8) - partp[active-1].dp_sid |= ACTIVE; + partp[active-1].dp_sid |= PC98_SID_ACTIVE; } static void |