int len;
{
if (buf != (char *)NULL && len > 0)
- {
- char tmpBuf[30];
+ {
+ char tmpBuf[30];
- sprintf(tmpBuf, "0x%x", addr);
- if ((strlen(buf) + strlen(tmpBuf)) <= len)
- strcat(buf, tmpBuf);
- else
- strncat(buf, tmpBuf, (len - strlen(buf)));
- }
+ sprintf_vma (tmpBuf, addr);
+ if ((strlen (buf) + strlen (tmpBuf)) <= len)
+ strcat (buf, tmpBuf);
+ else
+ strncat (buf, tmpBuf, (len - strlen(buf)));
+ }
return;
}