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): Set NULL to unused cfdata::cf_loc



details:   https://anonhg.NetBSD.org/src/rev/b538e631141e
branches:  trunk
changeset: 333391:b538e631141e
user:      uebayasi <uebayasi%NetBSD.org@localhost>
date:      Sat Nov 01 06:20:24 2014 +0000

description:
config(1): Set NULL to unused cfdata::cf_loc

diffstat:

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

diffs (27 lines):

diff -r 436286f2c479 -r b538e631141e usr.bin/config/mkioconf.c
--- a/usr.bin/config/mkioconf.c Sat Nov 01 05:56:36 2014 +0000
+++ b/usr.bin/config/mkioconf.c Sat Nov 01 06:20:24 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: mkioconf.c,v 1.25 2014/10/31 18:26:06 uebayasi Exp $   */
+/*     $NetBSD: mkioconf.c,v 1.26 2014/11/01 06:20:24 uebayasi Exp $   */
 
 /*
  * Copyright (c) 1992, 1993
@@ -45,7 +45,7 @@
 #endif
 
 #include <sys/cdefs.h>
-__RCSID("$NetBSD: mkioconf.c,v 1.25 2014/10/31 18:26:06 uebayasi Exp $");
+__RCSID("$NetBSD: mkioconf.c,v 1.26 2014/11/01 06:20:24 uebayasi Exp $");
 
 #include <sys/param.h>
 #include <err.h>
@@ -433,7 +433,7 @@
                            i->i_locoff);
                        loc = locbuf;
                } else
-                       loc = "loc";
+                       loc = "NULL";
                fprintf(fp, "    { \"%s\",%s\"%s\",%s%2d, %s, %7s, %#6x, ",
                            basename, strlen(basename) < 7 ? "\t\t"
                                                           : "\t",



Home | Main Index | Thread Index | Old Index