diff options
author | Karel Zak | 2012-07-23 14:24:25 +0200 |
---|---|---|
committer | Karel Zak | 2012-07-23 14:24:25 +0200 |
commit | 67987b47346932625c077ca575fce5de568a21dd (patch) | |
tree | 8e8b94c9b6ce69cfcdab7bfc75cf4066febad26c /fdisks/fdisk.c | |
parent | fdisk: move label specific stuff to fdiskdoslabel.c (diff) | |
download | kernel-qcow2-util-linux-67987b47346932625c077ca575fce5de568a21dd.tar.gz kernel-qcow2-util-linux-67987b47346932625c077ca575fce5de568a21dd.tar.xz kernel-qcow2-util-linux-67987b47346932625c077ca575fce5de568a21dd.zip |
fdisk: rename cxt->mbr buffer to cxt->firstsector
MBR is regular name for DOS partition table, let use less confusing
name for the buffer.
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'fdisks/fdisk.c')
-rw-r--r-- | fdisks/fdisk.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fdisks/fdisk.c b/fdisks/fdisk.c index e1d5fa6f5..010431d27 100644 --- a/fdisks/fdisk.c +++ b/fdisks/fdisk.c @@ -1521,7 +1521,7 @@ static void print_raw(struct fdisk_context *cxt) printf(_("Device: %s\n"), cxt->dev_path); if (disklabel == SUN_LABEL || disklabel == SGI_LABEL) - print_buffer(cxt, cxt->mbr); + print_buffer(cxt, cxt->firstsector); else for (i = 3; i < partitions; i++) print_buffer(cxt, ptes[i].sectorbuffer); } |