diff options
author | jhb <jhb@FreeBSD.org> | 2003-01-10 19:45:10 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2003-01-10 19:45:10 +0000 |
commit | 5fc7b42391b1760e39dbb4ef6b4f8d05ffc346a4 (patch) | |
tree | 582c40bc15c2ccbb48426f49ab30fc9eb6b233b0 /lib | |
parent | 03f0bdefdedf30ee648673139c6d043380b58d48 (diff) | |
download | FreeBSD-src-5fc7b42391b1760e39dbb4ef6b4f8d05ffc346a4.zip FreeBSD-src-5fc7b42391b1760e39dbb4ef6b4f8d05ffc346a4.tar.gz |
Use the fstype obtained from the GEOM dumpconf output to set the fstype
of BSD part chunks when opening a disk.
Reviewed by: phk
MFC after: 2 days
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libdisk/disk.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libdisk/disk.c b/lib/libdisk/disk.c index 2341459..29632f5 100644 --- a/lib/libdisk/disk.c +++ b/lib/libdisk/disk.c @@ -313,7 +313,7 @@ Int_Open_Disk(const char *name) break; } } else if (!strcmp(t, "BSD")) - i = Add_Chunk(d, off, len, n, part, 0, 0, 0); + i = Add_Chunk(d, off, len, n, part, ty, 0, 0); else if (!strcmp(t, "PC98")) { switch (ty & 0x7f) { case 0x14: |