fs/affs/amigaffs.c: use va_format instead of buffer/vnsprintf
authorFabian Frederick <fabf@skynet.be>
Sat, 13 Dec 2014 00:57:49 +0000 (16:57 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 13 Dec 2014 20:42:51 +0000 (12:42 -0800)
commit1ee54b099acecb928bc76ea4beca668697b4a4d0
treefc2a748e4f703bde9ab50b061eb4e79bcf03cf6b
parent7633978b43ebe3ec4759ef069acd7bf3d743b79c
fs/affs/amigaffs.c: use va_format instead of buffer/vnsprintf

-Remove ErrorBuffer and use %pV

-Add __printf to enable argument mistmatch warnings

Original patch by Joe Perches.

Signed-off-by: Fabian Frederick <fabf@skynet.be>
Cc: Joe Perches <joe@perches.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/affs/affs.h
fs/affs/amigaffs.c
fs/affs/file.c