use passed in parameter and not global in log message.
use passed in parameter and not global in log message.

Should shut up the race detector (and make the printf more correct)

dajohi/btcd,Stash-Crypto/btcd,DanielKrawisz/btcd,Dirbaio/btcd,Roasbeef/btcd,qchain/btcd,CryptocurrencyCabal/htcd,dajohi/btcd,ltcsuite/ltcd,runeaune/btcd,davecgh/btcd,mathiasrw/btcd,jcmincke/dcrd,btcsuitereleases/btcd,soapboxsys/ombfullnode,glv2/ppcd,1d4Nf6/btcd,Dirbaio/btcd,ppcsuite/ppcd,jimmysong/btcd,jongillham/btcd,Stash-Crypto/btcd,glv2/ppcd,pkothbauer/btcd,sysbot/btcd,aakselrod/btcd,davecgh/btcd,ppcsuite/ppcd-old,decred/dcrd,btcsuite/btcd,wallclockbuilder/btcd,Roasbeef/btcd,cqswxj2013/btcd,hectorj/btcd,qchain/btcd,jrick/btcd,mathiasrw/btcd,danoctavian/btcd,dan-da/btcd,stevenroose/btcd,1d4Nf6/btcd,ltcsuite/ltcd,jcmincke/dcrd,DanielKrawisz/btcd,cjepson/btcd,ppcsuite/ppcd,Cleawing/btcd,btcsuitereleases/btcd,jrick/dcrd,FactomProject/btcd,pkothbauer/btcd,BitGo/prova,jrick/btcd,wallclockbuilder/btcd,FactomProject/btcd,Cleawing/btcd,dajohi/btcd,jcmincke/dcrd,dan-da/btcd,btcsuite/btcd,tb00/btcd,danoctavian/btcd,jrick/dcrd,toddfries/btcd,adiabat/btcd,ppcsuite/ppcd-old,hectorj/btcd,CryptocurrencyCabal/htcd,toddfries/btcd,jongillham/btcd,soapboxsys/ombfullnode,cjepson/btcd,sysbot/btcd,jimmysong/btcd,tb00/btcd,jrick/btcd,aakselrod/btcd,BitGo/prova,Dirbaio/btcd,adiabat/btcd,stevenroose/btcd,decred/dcrd,cqswxj2013/btcd,runeaune/btcd