summaryrefslogtreecommitdiffstats
path: root/balkan
diff options
context:
space:
mode:
authorMatt Wilson <msw@redhat.com>2000-01-06 15:00:40 +0000
committerMatt Wilson <msw@redhat.com>2000-01-06 15:00:40 +0000
commit77e10526955536dcc65b8fc484360a2e634f649e (patch)
tree3768427b6362cd60c99c1b4cb00f4aa1a5cf21a7 /balkan
parent2f5364beda5b899fccb1d4d95e378db0ae1a545b (diff)
downloadanaconda-77e10526955536dcc65b8fc484360a2e634f649e.tar.gz
anaconda-77e10526955536dcc65b8fc484360a2e634f649e.tar.xz
anaconda-77e10526955536dcc65b8fc484360a2e634f649e.zip
merge from Alpha/SPARC branch
Diffstat (limited to 'balkan')
-rw-r--r--balkan/bsdlabel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/balkan/bsdlabel.c b/balkan/bsdlabel.c
index 4e89d133e..7856471fd 100644
--- a/balkan/bsdlabel.c
+++ b/balkan/bsdlabel.c
@@ -104,13 +104,13 @@ int bsdlReadTable(int fd, struct partitionTable * table) {
if (label.d_partitions[i].p_size && label.d_partitions[i].p_fstype) {
table->parts[i].startSector = label.d_partitions[i].p_offset;
table->parts[i].size = label.d_partitions[i].p_size;
- table->parts[i].type = label.d_partitions[i].p_size;
switch (label.d_partitions[i].p_fstype) {
case 1: s = BALKAN_PART_SWAP; break;
case 8: s = BALKAN_PART_EXT2; break;
default: s = BALKAN_PART_OTHER; break;
}
+ table->parts[i].type = s;
}
}