Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

fs/hfsplus/options.c: replace seq_printf by seq_puts

Replace seq_printf where possible

Signed-off-by: Fabian Frederick <fabf@skynet.be>
Cc: Vyacheslav Dubeyko <slava@dubeyko.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

authored by

Fabian Frederick and committed by
Linus Torvalds
d8983ca0 e46707d1

+4 -5
+4 -5
fs/hfsplus/options.c
··· 173 173 if (p) 174 174 sbi->nls = load_nls(p); 175 175 if (!sbi->nls) { 176 - pr_err("unable to load " 177 - "nls mapping \"%s\"\n", 178 - p); 176 + pr_err("unable to load nls mapping \"%s\"\n", 177 + p); 179 178 kfree(p); 180 179 return 0; 181 180 } ··· 231 232 if (sbi->nls) 232 233 seq_printf(seq, ",nls=%s", sbi->nls->charset); 233 234 if (test_bit(HFSPLUS_SB_NODECOMPOSE, &sbi->flags)) 234 - seq_printf(seq, ",nodecompose"); 235 + seq_puts(seq, ",nodecompose"); 235 236 if (test_bit(HFSPLUS_SB_NOBARRIER, &sbi->flags)) 236 - seq_printf(seq, ",nobarrier"); 237 + seq_puts(seq, ",nobarrier"); 237 238 return 0; 238 239 }