From: jsg Date: Tue, 5 Jul 2016 05:06:27 +0000 (+0000) Subject: Modify code added in rev 1.30 to use the correct variable instead of a X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=8b14d803ba1a7bafdd4b40811142c3a45954d0ed;p=openbsd Modify code added in rev 1.30 to use the correct variable instead of a different uninitialised one. ok martijn@ --- 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--; } }