Source-Changes-HG archive

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

[src/trunk]: src/usr.sbin/makefs use "val" not "var"



details:   https://anonhg.NetBSD.org/src/rev/64c3b229260e
branches:  trunk
changeset: 784508:64c3b229260e
user:      christos <christos%NetBSD.org@localhost>
date:      Wed Jan 30 02:53:54 2013 +0000

description:
use "val" not "var"

diffstat:

 usr.sbin/makefs/makefs.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 0bdc43fecdc7 -r 64c3b229260e usr.sbin/makefs/makefs.c
--- a/usr.sbin/makefs/makefs.c  Wed Jan 30 02:48:22 2013 +0000
+++ b/usr.sbin/makefs/makefs.c  Wed Jan 30 02:53:54 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: makefs.c,v 1.44 2013/01/29 15:52:25 christos Exp $     */
+/*     $NetBSD: makefs.c,v 1.45 2013/01/30 02:53:54 christos Exp $     */
 
 /*
  * Copyright (c) 2001-2003 Wasabi Systems, Inc.
@@ -41,7 +41,7 @@
 
 #include <sys/cdefs.h>
 #if defined(__RCSID) && !defined(__lint)
-__RCSID("$NetBSD: makefs.c,v 1.44 2013/01/29 15:52:25 christos Exp $");
+__RCSID("$NetBSD: makefs.c,v 1.45 2013/01/30 02:53:54 christos Exp $");
 #endif /* !__lint */
 
 #include <assert.h>
@@ -328,7 +328,7 @@
        size_t i;
 
 #define NUM(width) \
-       if (!*var) { \
+       if (!*val) { \
                *(uint ## width ## _t *)options[i].value = 1; \
                break; \
        } \



Home | Main Index | Thread Index | Old Index