diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2000-09-12 00:17:48 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2000-09-12 00:17:48 +0000 |
commit | 11581d6684b1bbd16dfe9d2476fbd22e7bc8f271 (patch) | |
tree | 9e178c0d046c2e5bf8bb2c9d6cb9cba3d4f346fe /sbin | |
parent | 36366afe8e4f176a45bbb6311a37c7005f31a368 (diff) |
handle LBA extended partitions here too; scott@nts.umn.edu
Diffstat (limited to 'sbin')
-rw-r--r-- | sbin/fdisk/user.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sbin/fdisk/user.c b/sbin/fdisk/user.c index f771fe965b5..8a5bf7a0c91 100644 --- a/sbin/fdisk/user.c +++ b/sbin/fdisk/user.c @@ -1,4 +1,4 @@ -/* $OpenBSD: user.c,v 1.14 1998/09/14 03:54:35 rahnds Exp $ */ +/* $OpenBSD: user.c,v 1.15 2000/09/12 00:17:47 deraadt Exp $ */ /* * Copyright (c) 1997 Tobias Weingartner @@ -201,7 +201,8 @@ USER_print_disk(disk) /* Print out extended partitions too */ for (offset = i = 0; i < 4; i++) - if (mbr.part[i].id == DOSPTYP_EXTEND) { + if (mbr.part[i].id == DOSPTYP_EXTEND || + mbr.part[i].id == DOSPTYP_EXTENDL) { offset = mbr.part[i].bs; if (firstoff == 0) firstoff = offset; |