diff --git a/lustre/utils/lfs.c b/lustre/utils/lfs.c index 168759db1f2ecc117b0a33264618ccb1addf42ff..dba6a473c2acfe855ba04ba336f8ad7f08878ef3 100644 --- a/lustre/utils/lfs.c +++ b/lustre/utils/lfs.c @@ -712,7 +712,8 @@ static int showdf(char *mntdir, struct obd_statfs *stat, long long avail, used, total; double ratio = 0; char *suffix = "KMGTPEZY"; - char tbuf[10], ubuf[10], abuf[10], rbuf[10]; + /* Note if we have >2^64 bytes/fs these buffers will need to be grown */ + char tbuf[20], ubuf[20], abuf[20], rbuf[20]; if (!uuid || !stat) return -EINVAL;