aboutsummaryrefslogtreecommitdiff
path: root/sbin
diff options
context:
space:
mode:
authorEitan Adler <eadler@FreeBSD.org>2013-12-04 04:28:00 +0000
committerEitan Adler <eadler@FreeBSD.org>2013-12-04 04:28:00 +0000
commit9b802256313146df7eeb238f42ed96a832fba246 (patch)
tree3abd515a2d8a4887b263a97127f4f84a023f4d10 /sbin
parent244f00cc0dfc19b1aeba75bc00412250126a2ee5 (diff)
downloadsrc-9b802256313146df7eeb238f42ed96a832fba246.tar.gz
src-9b802256313146df7eeb238f42ed96a832fba246.zip
Turn 'n' into a local variable. This is required for additional changes.
Submitted by: Sebastian Huber <sebastian.huber@embedded-brains.de>
Notes
Notes: svn path=/head/; revision=258905
Diffstat (limited to 'sbin')
-rw-r--r--sbin/route/route.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sbin/route/route.c b/sbin/route/route.c
index 47c63a937475..fb82db492b34 100644
--- a/sbin/route/route.c
+++ b/sbin/route/route.c
@@ -497,7 +497,8 @@ routename(struct sockaddr *sa)
const char *cp;
static char line[NI_MAXHOST];
static char domain[MAXHOSTNAMELEN + 1];
- static int first = 1, n;
+ static int first = 1;
+ int n;
if (first) {
first = 0;