summaryrefslogtreecommitdiff
path: root/ospf6d/ospf6d.h
diff options
context:
space:
mode:
Diffstat (limited to 'ospf6d/ospf6d.h')
-rw-r--r--ospf6d/ospf6d.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/ospf6d/ospf6d.h b/ospf6d/ospf6d.h
index f95381084d..36f3c2233f 100644
--- a/ospf6d/ospf6d.h
+++ b/ospf6d/ospf6d.h
@@ -72,12 +72,12 @@ extern struct thread_master *master;
#define threadtimer_string(now, t, buf, size) \
do { \
- struct timeval result; \
+ struct timeval _result; \
if (!t) \
snprintf(buf, size, "inactive"); \
else { \
- timersub(&t->u.sands, &now, &result); \
- timerstring(&result, buf, size); \
+ timersub(&t->u.sands, &now, &_result); \
+ timerstring(&_result, buf, size); \
} \
} while (0)