John wrote:

> Also, you might consider using strncmp() to make the code a bit easier to 
> read, i.e.:
> 
>       if (strncmp(name, "/tmp/", 5) == 0)
>               printf("open(2): %s by pid %d (%s)\n", name, td->td_proc->p_pid,
>                   td->td_proc->p_comm);

Thank you very much, it works. 

-Roman Bogorodskiy

Attachment: pgp00000.pgp
Description: PGP signature

Reply via email to