diff options
author | Matt Wilson <msw@redhat.com> | 2000-01-06 15:00:40 +0000 |
---|---|---|
committer | Matt Wilson <msw@redhat.com> | 2000-01-06 15:00:40 +0000 |
commit | 77e10526955536dcc65b8fc484360a2e634f649e (patch) | |
tree | 3768427b6362cd60c99c1b4cb00f4aa1a5cf21a7 /balkan/bsdlabel.c | |
parent | 2f5364beda5b899fccb1d4d95e378db0ae1a545b (diff) | |
download | anaconda-77e10526955536dcc65b8fc484360a2e634f649e.tar.gz anaconda-77e10526955536dcc65b8fc484360a2e634f649e.tar.xz anaconda-77e10526955536dcc65b8fc484360a2e634f649e.zip |
merge from Alpha/SPARC branch
Diffstat (limited to 'balkan/bsdlabel.c')
-rw-r--r-- | balkan/bsdlabel.c | 2 |
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; } } |