Make arguments match format string.

This commit is contained in:
W. Eric Norum
2003-09-16 18:54:43 +00:00
parent 21fe691d96
commit c30c884687
2 changed files with 2 additions and 2 deletions

View File

@@ -353,7 +353,7 @@ STATIC void dbtpnCallback(putNotify *ppn)
if(status==0)
printf("dbtpnCallback: success record=%s\n",ppn->paddr->precord->name);
else
errlogPrintf("%s dbtpnCallback putNotify.status %d\n",(int)status);
errlogPrintf("%s dbtpnCallback putNotify.status %d\n",ppn->paddr->precord->name,(int)status);
free((void *)ppn->paddr);
free(ppn);
}

View File

@@ -644,7 +644,7 @@ static void tpnCallback(putNotify *ppn)
if(status==0)
printf("tpnCallback: success record=%s\n",pname);
else
errlogPrintf("%s tpnCallback status = %d\n",status);
errlogPrintf("%s tpnCallback status = %d\n",pname,status);
free((void *)pdbaddr);
free(ppn);
}