truss and procfs
Eirik Nygaard
eirikn at kerneled.com
Sun Oct 19 11:34:29 PDT 2003
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.
--
Eirik Nygaard
eirikn at xxxxxxxxxxxx
Attachment:
pgp00002.pgp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pgp00002.pgp
Type: application/octet-stream
Size: 187 bytes
Desc: "Description: PGP signature"
URL: <http://lists.dragonflybsd.org/pipermail/submit/attachments/20031019/7e950757/attachment-0019.obj>
More information about the Submit
mailing list