summaryrefslogtreecommitdiff
path: root/usr.sbin/makefs/cd9660.c
diff options
context:
space:
mode:
authorMartin Natano <natano@cvs.openbsd.org>2016-10-26 14:06:47 +0000
committerMartin Natano <natano@cvs.openbsd.org>2016-10-26 14:06:47 +0000
commitf853478220dd6ead972883e39e438a6d26a19c6e (patch)
tree6a4b3190a8ead19895c165cbfc7d4d66e2f8dc7a /usr.sbin/makefs/cd9660.c
parentc1e192aaf30a5fe7322ec4b67c4be52937541621 (diff)
Use OPT_BOOL, not OPT_INT32 for boolean cd9660 options.
Diffstat (limited to 'usr.sbin/makefs/cd9660.c')
-rw-r--r--usr.sbin/makefs/cd9660.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/makefs/cd9660.c b/usr.sbin/makefs/cd9660.c
index 5825e4c5583..9b58966a417 100644
--- a/usr.sbin/makefs/cd9660.c
+++ b/usr.sbin/makefs/cd9660.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cd9660.c,v 1.14 2016/10/26 07:53:47 natano Exp $ */
+/* $OpenBSD: cd9660.c,v 1.15 2016/10/26 14:06:46 natano Exp $ */
/* $NetBSD: cd9660.c,v 1.52 2015/12/24 15:52:37 christos Exp $ */
/*
@@ -250,7 +250,7 @@ cd9660_prep_opts(fsinfo_t *fsopts)
min, max }
#define OPT_BOOL(name, field) \
- OPT_NUM(name, field, 0, 1)
+ { name, &diskStructure->field, OPT_BOOL }
const option_t cd9660_options[] = {
OPT_BOOL("allow-deep-trees", allow_deep_trees),