A couple of format string fixes for tracing printfs.
This commit is contained in:
@@ -1513,7 +1513,7 @@ device_node::_AddPath(Stack<KPath*>& stack, const char* basePath,
|
|||||||
if (status == B_OK)
|
if (status == B_OK)
|
||||||
status = stack.Push(path);
|
status = stack.Push(path);
|
||||||
|
|
||||||
TRACE((" add path: \"%s\", %ld\n", path->Path(), status));
|
TRACE((" add path: \"%s\", %" B_PRId32 "\n", path->Path(), status));
|
||||||
|
|
||||||
if (status != B_OK)
|
if (status != B_OK)
|
||||||
delete path;
|
delete path;
|
||||||
|
|||||||
@@ -194,8 +194,8 @@ DiskBootMethod::IsBootDevice(KDiskDevice* device, bool strict)
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
TRACE(("boot device: bus %ld, device %ld\n", disk->bus_type,
|
TRACE(("boot device: bus %" B_PRId32 ", device %" B_PRId32 "\n",
|
||||||
disk->device_type));
|
disk->bus_type, disk->device_type));
|
||||||
|
|
||||||
// Assume that CD boots only happen off removable media.
|
// Assume that CD boots only happen off removable media.
|
||||||
if (fMethod == BOOT_METHOD_CD && !device->IsRemovable())
|
if (fMethod == BOOT_METHOD_CD && !device->IsRemovable())
|
||||||
|
|||||||
Reference in New Issue
Block a user