refactor: Swap %Ld for %lld in all format usages
* %Ld is an undocumented alias for %lld in glibc. * muslc doesn't implement it for this reason. * While we will likely never drop %Ld support, lets clean house and set a better example. Change-Id: Id46dad3104abae483e80cc5c05d1464d3ecd8030 Reviewed-on: https://review.haiku-os.org/c/haiku/+/6636 Reviewed-by: Adrien Destugues <[email protected]> Reviewed-by: Alex von Gluck IV <[email protected]> Tested-by: Commit checker robot <[email protected]>
This commit is contained in:
committed by
Adrien Destugues
parent
d110ee8cc1
commit
425ac1b60a
@@ -283,7 +283,7 @@ static status_t
|
||||
bfs_get_vnode(fs_volume* _volume, ino_t id, fs_vnode* _node, int* _type,
|
||||
uint32* _flags, bool reenter)
|
||||
{
|
||||
//FUNCTION_START(("ino_t = %Ld\n", id));
|
||||
//FUNCTION_START(("ino_t = %lld\n", id));
|
||||
Volume* volume = (Volume*)_volume->private_volume;
|
||||
|
||||
// first inode may be after the log area, we don't go through
|
||||
@@ -539,7 +539,7 @@ bfs_get_file_map(fs_volume* _volume, fs_vnode* _node, off_t offset, size_t size,
|
||||
block_run run;
|
||||
off_t fileOffset;
|
||||
|
||||
//FUNCTION_START(("offset = %Ld, size = %lu\n", offset, size));
|
||||
//FUNCTION_START(("offset = %lld, size = %lu\n", offset, size));
|
||||
|
||||
while (true) {
|
||||
status_t status = inode->FindBlockRun(offset, run, fileOffset);
|
||||
@@ -604,7 +604,7 @@ bfs_lookup(fs_volume* _volume, fs_vnode* _directory, const char* file,
|
||||
|
||||
status = tree->Find((uint8*)file, (uint16)strlen(file), _vnodeID);
|
||||
if (status != B_OK) {
|
||||
//PRINT(("bfs_walk() could not find %Ld:\"%s\": %s\n", directory->BlockNumber(), file, strerror(status)));
|
||||
//PRINT(("bfs_walk() could not find %lld:\"%s\": %s\n", directory->BlockNumber(), file, strerror(status)));
|
||||
if (status == B_ENTRY_NOT_FOUND)
|
||||
entry_cache_add_missing(volume->ID(), directory->ID(), file);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user