Bug 47207. Changing printf to PRINTF to use new logging facility. r=valeski,sr=waterson
git-svn-id: svn://10.0.0.236/trunk@81885 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -37,6 +37,11 @@
|
||||
#include <Entry.h>
|
||||
#include <Path.h>
|
||||
#include <Volume.h>
|
||||
#include "nslog.h"
|
||||
|
||||
NS_IMPL_LOG(nsFileSpecBeOSLog, 0)
|
||||
#define PRINTF NS_LOG_PRINTF(nsFileSpecBeOSLog)
|
||||
#define FLUSH NS_LOG_FLUSH(nsFileSpecBeOSLog)
|
||||
|
||||
//----------------------------------------------------------------------------------------
|
||||
void nsFileSpecHelpers::Canonify(nsSimpleCharString& ioPath, PRBool inMakeDirs)
|
||||
@@ -462,7 +467,7 @@ PRInt64 nsFileSpec::GetDiskSpaceAvailable() const
|
||||
BVolume v(ref.device);
|
||||
|
||||
#ifdef DEBUG_DISK_SPACE
|
||||
printf("DiskSpaceAvailable: %d bytes\n", space);
|
||||
PRINTF("DiskSpaceAvailable: %d bytes\n", space);
|
||||
#endif
|
||||
return v.FreeBytes();
|
||||
} // nsFileSpec::GetDiskSpace()
|
||||
|
||||
Reference in New Issue
Block a user