diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 1998-05-30 02:28:39 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 1998-05-30 02:28:39 +0000 |
commit | 72b813e2cdb35ee7642df1c26ec253df7b027942 (patch) | |
tree | 74e03812a0dbf756289812f0689fba7bba454214 | |
parent | 3edf440f3da4a184bf108a4e25258d32b1305b9a (diff) |
define ISO_DEFAULT_BLOCK_SHIFT and redefine ISO_DEFAULT_BLOCK_SIZE through it
-rw-r--r-- | sys/isofs/cd9660/iso.h | 5 |
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 */ |