David Laight wrote:
> On Tue, May 31, 2011 at 12:53:28AM +0000, Christos Zoulas wrote:
> > This is just:
> > 
> >     if (ktr->ktr_dtype < __arraycount(dnames))
> > >+          printf("%s %d\n", dnames[ktr->ktr_dtype], ktr->ktr_fd);
> > >+  else
> > >+          printf("%d\n", ktr->ktr_fd);
> 
> You can't do that - think what happens when another trace type is added.

Not sure I'm following. Can you please elaborate?
Thanks,
Alex

Reply via email to