Hi Tony, If it is possible that rnip->rni_flags doesn't have RC_NOTIFY_ACTIVE set when you found a duplicate then you probably want to place the 'out:' just before the previous 'if' section.
I suppose you could strdup(name) when it is assigned to arr[i]. -- Renaud Tony Nguyen wrote: > This is for > > 6710856 <http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6710856> > rc_notify_info_add_watch shouldn not allow identical notify names/types > > Webrev: http://cr.opensolaris.org/~tonyn/6710856/ > > Thanks in advance, > tony > _______________________________________________ > smf-discuss mailing list > smf-discuss at opensolaris.org