diff options
author | Marcel Moolenaar <marcel@FreeBSD.org> | 2008-04-23 03:00:26 +0000 |
---|---|---|
committer | Marcel Moolenaar <marcel@FreeBSD.org> | 2008-04-23 03:00:26 +0000 |
commit | 727b08eb66fe0d01c78e88f30ac86dba8ef28737 (patch) | |
tree | fe48366b2fca158524f6e7293f29688dff815c43 | |
parent | 0b5e889911fe6eda2ae1f28db186b9169d7ad766 (diff) |
Notes
-rw-r--r-- | lib/libdisk/open_ia64_disk.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/lib/libdisk/open_ia64_disk.c b/lib/libdisk/open_ia64_disk.c index bd28c7a0ab39..aeac7c88f0ce 100644 --- a/lib/libdisk/open_ia64_disk.c +++ b/lib/libdisk/open_ia64_disk.c @@ -217,8 +217,14 @@ Int_Open_Disk(const char *name, char *conftxt) uuid = _swap; else if (!strcmp(r, "freebsd-ufs")) uuid = _ufs; - else - uuid_from_string(r, &uuid, &status); + else { + if (!strcmp(type, "PART")) + uuid_from_string(r + 1, &uuid, + &status); + else + uuid_from_string(r, &uuid, + &status); + } } else status = uuid_s_invalid_string_uuid; if (!strcmp(q, "o")) |