Originally posted in cdnusers.org by willbi
I have a deviceType containing a %
I want to use it with other informations on a status area of a form.
So I use this function:
printf(statusTxt "%s:%s [%s]" refdes rDev rPath)
But I got this message
E- *Error* fprintf/sprintf: illegal format spec. - "R8:RSMD0603_1/16W-33,1% [lhc_1tfbk(sch_1):page1_i3->clock_distr1(sch_1):page1_i109]"
If I removed the % in rDev, it works.
Then the % is the problem.
How can I do to avoid this?
I tried with a strcat, but not better.
Thanks in advance.