diff --git a/src/db/dbNotify.c b/src/db/dbNotify.c index 7bd0af475..7186da610 100644 --- a/src/db/dbNotify.c +++ b/src/db/dbNotify.c @@ -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); } diff --git a/src/db/db_test.c b/src/db/db_test.c index c2ae1242b..f9abdc9da 100644 --- a/src/db/db_test.c +++ b/src/db/db_test.c @@ -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); }