summaryrefslogtreecommitdiffstats
path: root/lib/libdisk/disk.c
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2003-08-28 17:39:09 +0000
committerobrien <obrien@FreeBSD.org>2003-08-28 17:39:09 +0000
commitc07d7db2a9aef32e3b78b38e417cd4168f393e4c (patch)
treeddfa20bbd26dd316c4384389ba9e873105ba8241 /lib/libdisk/disk.c
parent638644189eb90583431f46f5db07e2a547029547 (diff)
downloadFreeBSD-src-c07d7db2a9aef32e3b78b38e417cd4168f393e4c.zip
FreeBSD-src-c07d7db2a9aef32e3b78b38e417cd4168f393e4c.tar.gz
Ignore ccd(4)'s. This is not the best solution, but it at least removes
the "BARF 360" ccd(4) user's experience. Submitted by: rwatson
Diffstat (limited to 'lib/libdisk/disk.c')
-rw-r--r--lib/libdisk/disk.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libdisk/disk.c b/lib/libdisk/disk.c
index ae79d29..6690fba 100644
--- a/lib/libdisk/disk.c
+++ b/lib/libdisk/disk.c
@@ -356,6 +356,8 @@ Int_Open_Disk(const char *name)
i = Add_Chunk(d, off, len, n, ty, 0, 0, 0);
else if (!strcmp(t, "BDE"))
; /* nothing */
+ else if (!strcmp(t, "CCD"))
+ ; /* nothing */
else {
printf("BARF %d\n", __LINE__);
exit(0);
OpenPOWER on IntegriCloud