Print actual floating point number, instead of integer fraction.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25661 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler
2008-05-26 16:13:19 +00:00
parent 1e18692e12
commit 113a13d83e
@@ -1241,7 +1241,7 @@ KDiskDeviceManager::_ScanPartition(KPartition *partition)
void *cookie = NULL; void *cookie = NULL;
float priority = diskSystem->Identify(partition, &cookie); float priority = diskSystem->Identify(partition, &cookie);
DBG(OUT(" returned: %ld/1000\n", int32(1000 * priority))); DBG(OUT(" returned: %g\n", priority));
if (priority >= 0 && priority > bestPriority) { if (priority >= 0 && priority > bestPriority) {
// new best disk system // new best disk system