summaryrefslogtreecommitdiff
path: root/com32/gpllib
diff options
context:
space:
mode:
authorPierre-Alexandre Meyer <pierre@mouraf.org>2009-04-20 17:19:26 -0700
committerPierre-Alexandre Meyer <pierre@mouraf.org>2009-04-20 17:19:26 -0700
commitc2853e856c694259d0e93509db6d99d6bd0bfc8f (patch)
treee1bdd97007832a9028100f7e2e6824e40597da9b /com32/gpllib
parentf5e4aea6089b93a52e4cee1bdca33d27721b11e9 (diff)
downloadsyslinux-c2853e856c694259d0e93509db6d99d6bd0bfc8f.tar.gz
hdt: Process extended partitions (CLI)
Print information about extended partitions in the CLI. Note: the offsets reported are the offsets found in the EBR. We may want to adjust it with the offset in the MBR. Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
Diffstat (limited to 'com32/gpllib')
-rw-r--r--com32/gpllib/disk/read.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/com32/gpllib/disk/read.c b/com32/gpllib/disk/read.c
index 1db60fdd..92b2563f 100644
--- a/com32/gpllib/disk/read.c
+++ b/com32/gpllib/disk/read.c
@@ -6,6 +6,8 @@
#include <disk/read.h>
/**
+ * read_mbr - return a pointer to a malloced buffer containing the mbr
+ * @drive: Drive number
**/
void *read_mbr(int drive)
{