summaryrefslogtreecommitdiff
path: root/sys/isofs
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>1998-05-30 02:28:39 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>1998-05-30 02:28:39 +0000
commit72b813e2cdb35ee7642df1c26ec253df7b027942 (patch)
tree74e03812a0dbf756289812f0689fba7bba454214 /sys/isofs
parent3edf440f3da4a184bf108a4e25258d32b1305b9a (diff)
define ISO_DEFAULT_BLOCK_SHIFT and redefine ISO_DEFAULT_BLOCK_SIZE through it
Diffstat (limited to 'sys/isofs')
-rw-r--r--sys/isofs/cd9660/iso.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/isofs/cd9660/iso.h b/sys/isofs/cd9660/iso.h
index 105ccb693e0..19c47c153dd 100644
--- a/sys/isofs/cd9660/iso.h
+++ b/sys/isofs/cd9660/iso.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: iso.h,v 1.7 1997/11/08 17:21:09 niklas Exp $ */
+/* $OpenBSD: iso.h,v 1.8 1998/05/30 02:28:38 mickey Exp $ */
/* $NetBSD: iso.h,v 1.20 1997/07/07 22:45:34 cgd Exp $ */
/*-
@@ -98,7 +98,8 @@ struct iso_primary_descriptor {
char application_data [ISODCL (884, 1395)];
char unused5 [ISODCL (1396, 2048)];
};
-#define ISO_DEFAULT_BLOCK_SIZE 2048
+#define ISO_DEFAULT_BLOCK_SHIFT 11
+#define ISO_DEFAULT_BLOCK_SIZE (1<<ISO_DEFAULT_BLOCK_SHIFT)
struct iso_directory_record {
char length [ISODCL (1, 1)]; /* 711 */