Add back missing arguments to format strings.
Reviewed by: hm
This commit is contained in:
parent
d6b761d326
commit
b8bb442de2
@ -454,7 +454,7 @@ cfg_setval(int keyword)
|
||||
FILE *fp;
|
||||
int s, l;
|
||||
int n;
|
||||
DBGL(DL_RCCF, (log(LL_DBG, "entry %d: budget-callbacksfile = %s", yylval.str)));
|
||||
DBGL(DL_RCCF, (log(LL_DBG, "entry %d: budget-callbacksfile = %s", entrycount, yylval.str)));
|
||||
fp = fopen(yylval.str, "r");
|
||||
if(fp != NULL)
|
||||
{
|
||||
|
@ -340,9 +340,9 @@ layer3(char *pbuf, int n, int off, unsigned char *buf)
|
||||
sprintline(3, (pbuf+strlen(pbuf)), off+i, buf[i], 0x0f, "Length of Call Reference = 2");
|
||||
i++;
|
||||
sprintline(3, (pbuf+strlen(pbuf)), off+i, buf[i], 0x80, "Call Reference sent %s origination side", (buf[i] & 0x80) ? "to" : "from");
|
||||
sprintline(3, (pbuf+strlen(pbuf)), off+i, buf[i], 0x7f, "Call reference = %d = %02x", (buf[i] & 0x7f));
|
||||
sprintline(3, (pbuf+strlen(pbuf)), off+i, buf[i], 0x7f, "Call reference = %d = %02x", (buf[i] & 0x7f), (buf[i] & 0x7f));
|
||||
i++;
|
||||
sprintline(3, (pbuf+strlen(pbuf)), off+i, buf[i], 0xff, "Call reference = %d = %02x", (buf[i]));
|
||||
sprintline(3, (pbuf+strlen(pbuf)), off+i, buf[i], 0xff, "Call reference = %d = %02x", (buf[i]), (buf[i]));
|
||||
break;
|
||||
}
|
||||
i++;
|
||||
|
@ -475,7 +475,7 @@ f_cause(char *pbuf, unsigned char *buf, int off)
|
||||
len--;
|
||||
|
||||
for(j = 0; j < len; j++)
|
||||
sprintline(3, (pbuf+strlen(pbuf)), off+i+j, buf[i+j], 0xff, "Diagnostics = %02d %s", buf[i+j]);
|
||||
sprintline(3, (pbuf+strlen(pbuf)), off+i+j, buf[i+j], 0xff, "Diagnostics = %02d %s", buf[i+j], buf[i+j]);
|
||||
|
||||
i += (len+1);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user