]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
fs/ntfs3: Drop stray '\' (backslash) in formatting string
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 23 Apr 2024 21:01:01 +0000 (00:01 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 3 Aug 2024 07:00:23 +0000 (09:00 +0200)
[ Upstream commit b366809dd151e8abb29decda02fd6a78b498831f ]

CHECK   /home/andy/prj/linux-topic-uart/fs/ntfs3/super.c
fs/ntfs3/super.c:471:23: warning: unknown escape sequence: '\%'

Drop stray '\' (backslash) in formatting string.

Fixes: d27e202b9ac4 ("fs/ntfs3: Add more info into /proc/fs/ntfs3/<dev>/volinfo")
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Konstantin Komarov <almaz.alexandrovich@paragon-software.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
fs/ntfs3/super.c

index 27fbde2701b63497fb5949e378c550cf38cbf3e8..24a134eeb45a21814ea12638cc4cecdff108f47c 100644 (file)
@@ -468,7 +468,7 @@ static int ntfs3_volinfo(struct seq_file *m, void *o)
        struct super_block *sb = m->private;
        struct ntfs_sb_info *sbi = sb->s_fs_info;
 
-       seq_printf(m, "ntfs%d.%d\n%u\n%zu\n\%zu\n%zu\n%s\n%s\n",
+       seq_printf(m, "ntfs%d.%d\n%u\n%zu\n%zu\n%zu\n%s\n%s\n",
                   sbi->volume.major_ver, sbi->volume.minor_ver,
                   sbi->cluster_size, sbi->used.bitmap.nbits,
                   sbi->mft.bitmap.nbits,