This is an automated email from the git hooks/post-receive script.
andyp pushed a commit to branch main in repository gfs2-utils.
commit e57a79410b8f78d6d377bbe6989dc36bc65e6dbf Author: Andrew Price anprice@redhat.com AuthorDate: Thu Jan 6 09:21:45 2022 +0000
tunegfs2: Use PRIu64 instead of casting uint64_t to unsigned long long
Signed-off-by: Andrew Price anprice@redhat.com --- gfs2/tune/super.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/gfs2/tune/super.c b/gfs2/tune/super.c index 3290a791..03df530e 100644 --- a/gfs2/tune/super.c +++ b/gfs2/tune/super.c @@ -59,9 +59,9 @@ int print_super(const struct tunegfs2 *tfs) printf(_("File system format version: %"PRIu32"\n"), be32_to_cpu(tfs->sb->sb_fs_format)); printf(_("Block size: %d\n"), be32_to_cpu(tfs->sb->sb_bsize)); printf(_("Block shift: %d\n"), be32_to_cpu(tfs->sb->sb_bsize_shift)); - printf(_("Root inode: %llu\n"), (unsigned long long)be64_to_cpu(tfs->sb->sb_root_dir.no_addr)); + printf(_("Root inode: %"PRIu64"\n"), be64_to_cpu(tfs->sb->sb_root_dir.no_addr)); if (is_gfs2(tfs)) - printf(_("Master inode: %llu\n"), (unsigned long long)be64_to_cpu(tfs->sb->sb_master_dir.no_addr)); + printf(_("Master inode: %"PRIu64"\n"), be64_to_cpu(tfs->sb->sb_master_dir.no_addr)); printf(_("Lock protocol: %s\n"), tfs->sb->sb_lockproto); printf(_("Lock table: %s\n"), tfs->sb->sb_locktable);