truss and procfs
eirikn at kerneled.com
Tue Oct 28 10:51:14 PST 2003
On Sun, Oct 19, 2003 at 08:35:46PM +0200, Eirik Nygaard wrote:
> On Sun, Oct 19, 2003 at 10:23:42AM -0700, Matthew Dillon wrote:
> > :truss(1) always looks for procfs in /proc, it also bails out with some not
> > :very informative error messages if procfs is not mounted.
> > :http://eirikn.kerneled.com/dragonfly/truss-procfs.diff checks where procfs
> > :is mounted and if it is not present truss now tells the user what is
> > :wrong.
> > :
> > Yow. Use asprintf/free instead of sprintf/malloc/snprintf/free :-)
> > -Matt
> I have uploaded an updated diff at the same location.
Looks like I missed on sprintf/malloc/snprintf/free -> asprintf/free
(reported by Matt Dillon), it is all good now. The only question left
is: does anyone feel like commiting it, or are there more improvments I
eirikn at xxxxxxxxxxxx
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 187 bytes
Desc: "Description: PGP signature"
More information about the Submit