Ajit Bansode wrote:
> Hi all,
> I am getting an error at following line in my script:-
> 
> printa("%-60s [EMAIL PROTECTED] [EMAIL PROTECTED]", @funct_count, 
> @funct_time);
> 
> where,
> @funct_count[self->func_name] = count();
> @funct_time[self->func_name]=sum(timestamp-self->ts[self->func_name,this->fdepth]);
> 
> error:-
> printa( ) prototype mismatch: 3 args passed, 2 expected
> 
> please help me out.
Hi
you have three variables expected %-60s [EMAIL PROTECTED] [EMAIL PROTECTED], 
but only have two 
are passed in @funct_count & @funct_time.
Looks liek you need to drop the first one, %-60s.

Enda
> 
> Thanks,
> Ajit.
> 
> 
> --
> This message posted from opensolaris.org
> _______________________________________________
> dtrace-discuss mailing list
> [email protected]

_______________________________________________
dtrace-discuss mailing list
[email protected]

Reply via email to