artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
189463e
)
Modify code added in rev 1.30 to use the correct variable instead of a
author
jsg
<jsg@openbsd.org>
Tue, 5 Jul 2016 05:06:27 +0000
(
05:06
+0000)
committer
jsg
<jsg@openbsd.org>
Tue, 5 Jul 2016 05:06:27 +0000
(
05:06
+0000)
different uninitialised one.
ok martijn@
usr.bin/tail/forward.c
patch
|
blob
|
history
diff --git
a/usr.bin/tail/forward.c
b/usr.bin/tail/forward.c
index
e6b8f20
..
ca8ed65
100644
(file)
--- a/
usr.bin/tail/forward.c
+++ b/
usr.bin/tail/forward.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: forward.c,v 1.3
0 2016/01/25 21:44:01 martijn Exp $
*/
+/* $OpenBSD: forward.c,v 1.3
1 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", t
t
f->fname);
+ warnx("Lost track of %s", tf->fname);
nfiles--;
}
}