Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F111123725
D33430.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D33430.diff
View Options
diff --git a/stand/common/bcache.c b/stand/common/bcache.c
--- a/stand/common/bcache.c
+++ b/stand/common/bcache.c
@@ -408,7 +408,7 @@
/* bypass large requests, or when the cache is inactive */
if (bc == NULL ||
((size * 2 / bcache_blksize) > bcache_nblks)) {
- DPRINTF("bypass %zu from %qu", size / bcache_blksize, blk);
+ DPRINTF("bypass %zu from %jd", size / bcache_blksize, blk);
bcache_bypasses++;
rw &= F_MASK;
return (dd->dv_strategy(dd->dv_devdata, rw, blk, size, buf, rsize));
@@ -481,7 +481,7 @@
cand = BHASH(bc, blkno);
- DPRINTF("insert blk %llu -> %u # %d", blkno, cand, bcache_bcount);
+ DPRINTF("insert blk %jd -> %u # %d", blkno, cand, bcache_bcount);
bc->bcache_ctl[cand].bc_blkno = blkno;
bc->bcache_ctl[cand].bc_count = bcache_bcount++;
}
@@ -498,7 +498,7 @@
if (bc->bcache_ctl[i].bc_blkno == blkno) {
bc->bcache_ctl[i].bc_count = -1;
bc->bcache_ctl[i].bc_blkno = -1;
- DPRINTF("invalidate blk %llu", blkno);
+ DPRINTF("invalidate blk %ju", blkno);
}
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Feb 28, 6:16 PM (14 h, 46 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16888995
Default Alt Text
D33430.diff (1 KB)
Attached To
Mode
D33430: loader: bcache: Fix debug printf
Attached
Detach File
Event Timeline
Log In to Comment