bug 504917 - fix warnings while building updater r=bsmedberg

This commit is contained in:
Brad Lassey 2009-08-18 13:42:21 -04:00
parent 98326a68b7
commit 63cb9edaab

View File

@ -510,7 +510,7 @@ static int copy_file(const NS_tchar *spath, const NS_tchar *dpath)
AutoFile sfile = NS_tfopen(spath, NS_T("rb"));
if (sfile == NULL || fstat(fileno(sfile), &ss)) {
LOG(("copy_file: failed to open or stat: %p," LOG_S ",%d\n", sfile, spath, errno));
LOG(("copy_file: failed to open or stat: %p," LOG_S ",%d\n", sfile.get(), spath, errno));
return READ_ERROR;
}