summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2016-07-05 05:06:28 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2016-07-05 05:06:28 +0000
commit07b41d724d43b24bf5c323d12c2cdb3d898d9eef (patch)
tree818edc5d18549df7d332a36a55b9fe6868d455cc /usr.bin
parent0e08bb715496a803d0b1e21fa6ac1ae21b04404f (diff)
Modify code added in rev 1.30 to use the correct variable instead of a
different uninitialised one. ok martijn@
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/tail/forward.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/tail/forward.c b/usr.bin/tail/forward.c
index e6b8f20b5bb..ca8ed658362 100644
--- a/usr.bin/tail/forward.c
+++ b/usr.bin/tail/forward.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: forward.c,v 1.30 2016/01/25 21:44:01 martijn Exp $ */
+/* $OpenBSD: forward.c,v 1.31 2016/07/05 05:06:27 jsg Exp $ */
/* $NetBSD: forward.c,v 1.7 1996/02/13 16:49:10 ghudson Exp $ */
/*-
@@ -353,7 +353,7 @@ tfreopen(struct tailfile *tf) {
else
reopen[nfiles-1] = tf;
} else {
- warnx("Lost track of %s", ttf->fname);
+ warnx("Lost track of %s", tf->fname);
nfiles--;
}
}