summaryrefslogtreecommitdiff
path: root/usr.sbin/iscsid
diff options
context:
space:
mode:
authorTed Unangst <tedu@cvs.openbsd.org>2014-11-03 16:45:01 +0000
committerTed Unangst <tedu@cvs.openbsd.org>2014-11-03 16:45:01 +0000
commit9b27aaab87e70fca9ddfe2c249a02a7c28650028 (patch)
tree779c53c4e4d47fd6017b33bdccde3855ed5ae295 /usr.sbin/iscsid
parentbf568aa8abb26273282bceee4506a60f5c79ddf9 (diff)
actually use macro argument instead of shadowed variable name
Diffstat (limited to 'usr.sbin/iscsid')
-rw-r--r--usr.sbin/iscsid/iscsid.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/usr.sbin/iscsid/iscsid.c b/usr.sbin/iscsid/iscsid.c
index 5d211043191..a204db9391c 100644
--- a/usr.sbin/iscsid/iscsid.c
+++ b/usr.sbin/iscsid/iscsid.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: iscsid.c,v 1.16 2014/07/13 17:07:00 claudio Exp $ */
+/* $OpenBSD: iscsid.c,v 1.17 2014/11/03 16:45:00 tedu Exp $ */
/*
* Copyright (c) 2009 Claudio Jeker <claudio@openbsd.org>
@@ -315,13 +315,13 @@ done:
}
#define MERGE_MIN(r, a, b, v) \
- res->v = (mine->v < his->v ? mine->v : his->v)
+ r->v = (a->v < b->v ? a->v : b->v)
#define MERGE_MAX(r, a, b, v) \
- res->v = (mine->v > his->v ? mine->v : his->v)
+ r->v = (a->v > b->v ? a->v : b->v)
#define MERGE_OR(r, a, b, v) \
- res->v = (mine->v || his->v)
+ r->v = (a->v || b->v)
#define MERGE_AND(r, a, b, v) \
- res->v = (mine->v && his->v)
+ r->v = (a->v && b->v)
void
iscsi_merge_sess_params(struct session_params *res,