From 3f1f06c5d12b24c4061e5123acabf72348ff45a2 Mon Sep 17 00:00:00 2001 From: "Charles.Forsyth" Date: Wed, 16 Jan 2008 13:39:58 +0000 Subject: 20080116-1340 --- appl/cmd/tail.b | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'appl/cmd/tail.b') diff --git a/appl/cmd/tail.b b/appl/cmd/tail.b index 07d900d1..af438296 100644 --- a/appl/cmd/tail.b +++ b/appl/cmd/tail.b @@ -57,7 +57,7 @@ init(nil: ref Draw->Context, argv: list of string) else { if((file=sys->open(hd argv,sys->OREAD)) == nil ) fatal(hd argv); - (ok, stat) := sys->fstat(file); + (nil, stat) := sys->fstat(file); seekable = sys->seek(file,big 0,sys->SEEKSTART) == big 0 && stat.length > big 0; } @@ -99,7 +99,7 @@ init(nil: ref Draw->Context, argv: list of string) trunc(length : big) : sys->Dir { - (i,d):=sys->fstat(file); + (nil,d):=sys->fstat(file); if(d.length < length) d.length = tseek(big 0, sys->SEEKSTART); return d; -- cgit v1.2.3