Erlang Mailing Lists

Author Message

<  Erlang patches mailing list  ~  Bug in etop_txt format

rikard.johansson at mobil
Posted: Tue Dec 13, 2005 12:45 pm Reply with quote
Guest
etop_txt presents the values wrong. The Format and Arguments in
io:fwrite(?SYSFORM, [...]) are mismatched.
This bug exists in at least R10B-6.

The following patch corrects the problem.

# diff etop_txt.erl.orig etop_txt.erl
57,59c57,61
< io:fwrite(Fd,?SYSFORM, [Config#opts.node,Clock,Cpu,Tot,NProcs,Procs,
< RQ,Atom,Bin,Code,Ets]),
< io:nl(Fd),
---
> io:fwrite(Fd,?SYSFORM, [Config#opts.node,Clock,
> Cpu,Tot,Bin,
> NProcs,Procs,Code,
> RQ,Atom,Ets]),
> io:nl(Fd),

/Rikard


Post generated using Mail2Forum (http://m2f.sourceforge.net)

Display posts from previous:  

All times are GMT
Page 1 of 1
This forum is locked: you cannot post, reply to, or edit topics.

Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum