diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/portability.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/portability.c b/lib/portability.c index 5428766f..28aaf824 100644 --- a/lib/portability.c +++ b/lib/portability.c @@ -571,7 +571,7 @@ char *fs_type_name(struct statfs *statfs) for (i=0; i<ARRAY_LEN(nn); i++) if (nn[i].num == statfs->f_type) s = nn[i].name; - if (!s) sprintf(s = libbuf, "0x%x", statfs->f_type); + if (!s) sprintf(s = libbuf, "0x%x", (unsigned)statfs->f_type); return s; #endif } |