summaryrefslogtreecommitdiff
path: root/fs/hpfs/dir.c
diff options
context:
space:
mode:
authorFabian Frederick <fabf@skynet.be>2014-06-07 01:36:34 +0400
committerLinus Torvalds <torvalds@linux-foundation.org>2014-06-07 03:08:10 +0400
commit14da17f9c4a880e3418f7f04071df3cb2e8636e8 (patch)
tree304cf850a7337b83a5eef2720e23a9dff48469b4 /fs/hpfs/dir.c
parentb7cb1ce2205c45bf6d356cd358b52adb55bbcf5d (diff)
downloadlinux-14da17f9c4a880e3418f7f04071df3cb2e8636e8.tar.xz
fs/hpfs: use pr_fmt for logging
Also remove redundant level names (warning:...) Signed-off-by: Fabian Frederick <fabf@skynet.be> Cc: Mikulas Patocka <mikulas@artax.karlin.mff.cuni.cz> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/hpfs/dir.c')
-rw-r--r--fs/hpfs/dir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/hpfs/dir.c b/fs/hpfs/dir.c
index 11ea93637e28..3377eba73c13 100644
--- a/fs/hpfs/dir.c
+++ b/fs/hpfs/dir.c
@@ -127,7 +127,7 @@ static int hpfs_readdir(struct file *file, struct dir_context *ctx)
if (ctx->pos == 12)
goto out;
if (ctx->pos == 3 || ctx->pos == 4 || ctx->pos == 5) {
- pr_warn("HPFS: warning: pos==%d\n", (int)ctx->pos);
+ pr_warn("pos==%d\n", (int)ctx->pos);
goto out;
}
if (ctx->pos == 0) {