From e1a25d74e0ee1ee7343a40b73adfd0b6296ae21a Mon Sep 17 00:00:00 2001 From: natano Date: Wed, 26 Oct 2016 14:06:46 +0000 Subject: Use OPT_BOOL, not OPT_INT32 for boolean cd9660 options. --- usr.sbin/makefs/cd9660.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'usr.sbin/makefs') 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), -- cgit v1.2.3-59-g8ed1b