aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorBruce Evans <bde@FreeBSD.org>1999-02-05 16:49:18 +0000
committerBruce Evans <bde@FreeBSD.org>1999-02-05 16:49:18 +0000
commit890dfcdaecdfee672e49bbabde8ced5cd6c3a0e2 (patch)
tree677f8b007878e285fcc847dd13c4673ffcd0b11c /usr.sbin
parent3e8f7cf5f948e14f193e1db435d7ea473e8240ea (diff)
downloadsrc-890dfcdaecdfee672e49bbabde8ced5cd6c3a0e2.tar.gz
src-890dfcdaecdfee672e49bbabde8ced5cd6c3a0e2.zip
Don't generate compiler warnings about missing braces.
Notes
Notes: svn path=/head/; revision=43682
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/config/mkioconf.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/config/mkioconf.c b/usr.sbin/config/mkioconf.c
index 8f3cd8313bfa..494ae6ab77ca 100644
--- a/usr.sbin/config/mkioconf.c
+++ b/usr.sbin/config/mkioconf.c
@@ -36,7 +36,7 @@
static char sccsid[] = "@(#)mkioconf.c 8.2 (Berkeley) 1/21/94";
#endif
static const char rcsid[] =
- "$Id: mkioconf.c,v 1.45 1998/11/15 18:07:35 dfr Exp $";
+ "$Id: mkioconf.c,v 1.46 1999/02/04 10:24:45 markm Exp $";
#endif /* not lint */
#include <err.h>
@@ -734,7 +734,7 @@ isa_biotab(fp, table)
dp->d_flags, dp->d_drive, !dp->d_disabled,
dp->d_conflicts);
}
- fprintf(fp, "0\n};\n");
+ fprintf(fp, "{ 0 }\n};\n");
}
/*
@@ -773,7 +773,7 @@ isa_devtab(fp, table, dev_idp)
dp->d_msize, dp->d_unit,
dp->d_flags, !dp->d_disabled, dp->d_conflicts);
}
- fprintf(fp, "0\n};\n");
+ fprintf(fp, "{ 0 }\n};\n");
}
static char *