Module Name: src
Committed By: christos
Date: Wed Jan 30 02:53:54 UTC 2013
Modified Files:
src/usr.sbin/makefs: makefs.c
Log Message:
use "val" not "var"
To generate a diff of this commit:
cvs rdiff -u -r1.44 -r1.45 src/usr.sbin/makefs/makefs.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/usr.sbin/makefs/makefs.c
diff -u src/usr.sbin/makefs/makefs.c:1.44 src/usr.sbin/makefs/makefs.c:1.45
--- src/usr.sbin/makefs/makefs.c:1.44 Tue Jan 29 10:52:25 2013
+++ src/usr.sbin/makefs/makefs.c Tue Jan 29 21:53:54 2013
@@ -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 @@ set_option_var(const option_t *options,
size_t i;
#define NUM(width) \
- if (!*var) { \
+ if (!*val) { \
*(uint ## width ## _t *)options[i].value = 1; \
break; \
} \