diff options
author | Matt Wilson <msw@redhat.com> | 1999-09-11 15:43:56 +0000 |
---|---|---|
committer | Matt Wilson <msw@redhat.com> | 1999-09-11 15:43:56 +0000 |
commit | 67b133020bb2a5ba90005ac6da55a0d5d1424799 (patch) | |
tree | 68eae41b81639206b3de7dc12b4a3c1335144048 /balkan/rw.c | |
parent | e0e974477f07b1eb16c7553528b3f64d5d520ce5 (diff) | |
download | anaconda-67b133020bb2a5ba90005ac6da55a0d5d1424799.tar.gz anaconda-67b133020bb2a5ba90005ac6da55a0d5d1424799.tar.xz anaconda-67b133020bb2a5ba90005ac6da55a0d5d1424799.zip |
patch from jj, misc fixesbefore.po.msgmerge
Diffstat (limited to 'balkan/rw.c')
-rw-r--r-- | balkan/rw.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/balkan/rw.c b/balkan/rw.c index f715952e3..bd7278459 100644 --- a/balkan/rw.c +++ b/balkan/rw.c @@ -2,5 +2,13 @@ #include "dos.h" int balkanReadTable(int fd, struct partitionTable * table) { + int ret; + + /* Try sun labels first: they contain + both magic (tho 16bit) and checksum. */ + ret = sunpReadTable(fd, table); + if (ret != BALKAN_ERROR_BADMAGIC) + return ret; + return dospReadTable(fd, table); } |