From: Thiago Becker Date: Fri, 20 Mar 2026 13:27:34 +0000 (-0300) Subject: libxfs: fix printing of cache.c_maxcount. X-Git-Tag: v7.0.0~57 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=9d0bd1ecce3dc176a974d2021b1a329936294781;p=xfsprogs-dev.git libxfs: fix printing of cache.c_maxcount. c_maxcount is usigned, but is being printed as signed. Signed-off-by: Thiago Becker Reviewed-by: Andrey Albershteyn --- diff --git a/libxfs/cache.c b/libxfs/cache.c index 389afeff..d5d9ba56 100644 --- a/libxfs/cache.c +++ b/libxfs/cache.c @@ -85,7 +85,7 @@ cache_expand( { pthread_mutex_lock(&cache->c_mutex); #ifdef CACHE_DEBUG - fprintf(stderr, "doubling cache size to %d\n", 2 * cache->c_maxcount); + fprintf(stderr, "doubling cache size to %u\n", 2 * cache->c_maxcount); #endif cache->c_maxcount *= 2; pthread_mutex_unlock(&cache->c_mutex);