summaryrefslogtreecommitdiffstats
path: root/kernel/fs/hfs/super.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/fs/hfs/super.c')
-rw-r--r--kernel/fs/hfs/super.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/fs/hfs/super.c b/kernel/fs/hfs/super.c
index eee7206c3..410b65eea 100644
--- a/kernel/fs/hfs/super.c
+++ b/kernel/fs/hfs/super.c
@@ -135,9 +135,9 @@ static int hfs_show_options(struct seq_file *seq, struct dentry *root)
struct hfs_sb_info *sbi = HFS_SB(root->d_sb);
if (sbi->s_creator != cpu_to_be32(0x3f3f3f3f))
- seq_printf(seq, ",creator=%.4s", (char *)&sbi->s_creator);
+ seq_show_option_n(seq, "creator", (char *)&sbi->s_creator, 4);
if (sbi->s_type != cpu_to_be32(0x3f3f3f3f))
- seq_printf(seq, ",type=%.4s", (char *)&sbi->s_type);
+ seq_show_option_n(seq, "type", (char *)&sbi->s_type, 4);
seq_printf(seq, ",uid=%u,gid=%u",
from_kuid_munged(&init_user_ns, sbi->s_uid),
from_kgid_munged(&init_user_ns, sbi->s_gid));