summaryrefslogtreecommitdiffstats
path: root/kernel/fs/hfsplus/options.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/fs/hfsplus/options.c')
-rw-r--r--kernel/fs/hfsplus/options.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/fs/hfsplus/options.c b/kernel/fs/hfsplus/options.c
index c90b72ee6..bb806e58c 100644
--- a/kernel/fs/hfsplus/options.c
+++ b/kernel/fs/hfsplus/options.c
@@ -218,9 +218,9 @@ int hfsplus_show_options(struct seq_file *seq, struct dentry *root)
struct hfsplus_sb_info *sbi = HFSPLUS_SB(root->d_sb);
if (sbi->creator != HFSPLUS_DEF_CR_TYPE)
- seq_printf(seq, ",creator=%.4s", (char *)&sbi->creator);
+ seq_show_option_n(seq, "creator", (char *)&sbi->creator, 4);
if (sbi->type != HFSPLUS_DEF_CR_TYPE)
- seq_printf(seq, ",type=%.4s", (char *)&sbi->type);
+ seq_show_option_n(seq, "type", (char *)&sbi->type, 4);
seq_printf(seq, ",umask=%o,uid=%u,gid=%u", sbi->umask,
from_kuid_munged(&init_user_ns, sbi->uid),
from_kgid_munged(&init_user_ns, sbi->gid));