diff options
Diffstat (limited to 'appl/cmd/tail.b')
| -rw-r--r-- | appl/cmd/tail.b | 4 |
1 files changed, 2 insertions, 2 deletions
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; |
