Author: tsoome Date: Sun Dec 30 08:50:34 2018 New Revision: 342615 URL: https://svnweb.freebsd.org/changeset/base/342615
Log: MFC: r341231 loader: command_bcache() should print unsigned values All bcache counters are unsigned. Modified: stable/12/stand/common/bcache.c Directory Properties: stable/12/ (props changed) Modified: stable/12/stand/common/bcache.c ============================================================================== --- stable/12/stand/common/bcache.c Sun Dec 30 08:30:11 2018 (r342614) +++ stable/12/stand/common/bcache.c Sun Dec 30 08:50:34 2018 (r342615) @@ -491,12 +491,12 @@ command_bcache(int argc, char *argv[]) return(CMD_ERROR); } - printf("\ncache blocks: %d\n", bcache_total_nblks); - printf("cache blocksz: %d\n", bcache_blksize); - printf("cache readahead: %d\n", bcache_rablks); - printf("unit cache blocks: %d\n", bcache_unit_nblks); - printf("cached units: %d\n", bcache_units); - printf("%d ops %d bypasses %d hits %d misses\n", bcache_ops, + printf("\ncache blocks: %u\n", bcache_total_nblks); + printf("cache blocksz: %u\n", bcache_blksize); + printf("cache readahead: %u\n", bcache_rablks); + printf("unit cache blocks: %u\n", bcache_unit_nblks); + printf("cached units: %u\n", bcache_units); + printf("%u ops %d bypasses %u hits %u misses\n", bcache_ops, bcache_bypasses, bcache_hits, bcache_misses); return(CMD_OK); } _______________________________________________ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"