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