]> git.ipfire.org Git - thirdparty/e2fsprogs.git/blobdiff - lib/e2p/ls.c
libe2p: print the filename character encoding in list_super[2]
[thirdparty/e2fsprogs.git] / lib / e2p / ls.c
index a7586e094da1a0438515560b6d2b308f371324eb..11e7415bedc44194f2dfb4bef135d07d7171fc5f 100644 (file)
@@ -470,6 +470,9 @@ void list_super2(struct ext2_super_block * sb, FILE *f)
        if (ext2fs_has_feature_csum_seed(sb))
                fprintf(f, "Checksum seed:            0x%08x\n",
                        sb->s_checksum_seed);
+       if (ext2fs_has_feature_fname_encoding(sb))
+               fprintf(f, "Character encoding:       %s\n",
+                       e2p_encoding2str(sb->s_encoding));
 }
 
 void list_super (struct ext2_super_block * s)