diff options
author | bde <bde@FreeBSD.org> | 1999-02-05 16:49:18 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1999-02-05 16:49:18 +0000 |
commit | 3336f263286698c6ae00725fc209d80330cff5bc (patch) | |
tree | 32a832cb0b649154b84177a280fe608fe25785ec /usr.sbin/config | |
parent | bb6581fcda0c6f8f8baa4e162356f9ce751eec19 (diff) | |
download | FreeBSD-src-3336f263286698c6ae00725fc209d80330cff5bc.zip FreeBSD-src-3336f263286698c6ae00725fc209d80330cff5bc.tar.gz |
Don't generate compiler warnings about missing braces.
Diffstat (limited to 'usr.sbin/config')
-rw-r--r-- | usr.sbin/config/mkioconf.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/config/mkioconf.c b/usr.sbin/config/mkioconf.c index 8f3cd83..494ae6a 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 * |