serial: samsung: Fix build error

Fixes the following build error due to a typo introduced
by commit e4ac92df27 ("serial: samsung: Neaten dbg uses"):
drivers/tty/serial/samsung.c:69:26: error: ‘buf’ undeclared (first use in this function)

Reported-by: Arun Kumar K <arun.kk@samsung.com>
Signed-off-by: Sachin Kamat <sachin.kamat@samsung.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Christian Engelmayer <cengelma@gmx.at>
Acked-by: Joe Perches <joe@perches.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Sachin Kamat 2014-06-03 11:56:25 +05:30 committed by Greg Kroah-Hartman
parent 7171511eae
commit a859c8b2c3
1 changed files with 1 additions and 1 deletions

View File

@ -66,7 +66,7 @@ static void dbg(const char *fmt, ...)
char buff[256];
va_start(va, fmt);
vscnprintf(buff, sizeof(buf), fmt, va);
vscnprintf(buff, sizeof(buff), fmt, va);
va_end(va);
printascii(buff);