Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.bin/config config(1): KNF generated ioconf.c



details:   https://anonhg.NetBSD.org/src/rev/81e0dc592225
branches:  trunk
changeset: 333387:81e0dc592225
user:      uebayasi <uebayasi%NetBSD.org@localhost>
date:      Fri Oct 31 17:58:02 2014 +0000

description:
config(1): KNF generated ioconf.c

diffstat:

 usr.bin/config/mkioconf.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 6dd9359ffbef -r 81e0dc592225 usr.bin/config/mkioconf.c
--- a/usr.bin/config/mkioconf.c Fri Oct 31 17:43:55 2014 +0000
+++ b/usr.bin/config/mkioconf.c Fri Oct 31 17:58:02 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: mkioconf.c,v 1.23 2014/10/31 17:43:55 uebayasi Exp $   */
+/*     $NetBSD: mkioconf.c,v 1.24 2014/10/31 17:58:02 uebayasi Exp $   */
 
 /*
  * Copyright (c) 1992, 1993
@@ -45,7 +45,7 @@
 #endif
 
 #include <sys/cdefs.h>
-__RCSID("$NetBSD: mkioconf.c,v 1.23 2014/10/31 17:43:55 uebayasi Exp $");
+__RCSID("$NetBSD: mkioconf.c,v 1.24 2014/10/31 17:58:02 uebayasi Exp $");
 
 #include <sys/param.h>
 #include <err.h>
@@ -184,7 +184,7 @@
                fprintf(fp,
                    "static const struct cfiattrdata %scf_iattrdata = {\n",
                            name);
-               fprintf(fp, "\t\"%s\", %d,\n\t{\n", name, a->a_loclen);
+               fprintf(fp, "\t\"%s\", %d, {\n", name, a->a_loclen);
                for (ll = a->a_locs; ll; ll = ll->ll_next)
                        fprintf(fp, "\t\t{ \"%s\", \"%s\", %s },\n",
                                ll->ll_name,



Home | Main Index | Thread Index | Old Index