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:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user