aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2003-01-10 19:45:10 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2003-01-10 19:45:10 +0000
commitf3c652262559ad86ad906cff316ddf4326d7059f (patch)
tree582c40bc15c2ccbb48426f49ab30fc9eb6b233b0 /lib
parent3a8790a13b2236dd27686a02d9f10b4785137238 (diff)
downloadsrc-f3c652262559ad86ad906cff316ddf4326d7059f.tar.gz
src-f3c652262559ad86ad906cff316ddf4326d7059f.zip
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
Notes
Notes: svn path=/head/; revision=109082
Diffstat (limited to 'lib')
-rw-r--r--lib/libdisk/disk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libdisk/disk.c b/lib/libdisk/disk.c
index 2341459881eb..29632f535881 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: