David Herrmann 5d9d6e91b8 Input: uinput - fix setting up device name
The check for non-empty device name was botched since we tried to account
for extra space for the terminating zero at the same time. Convert to
kstrndup() to avoid this problem.

Signed-off-by: David Herrmann <dh.herrmann@gmail.com>
Acked-by: Aristeu Rozanski <aris@ruivo.org>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
2011-02-21 01:02:28 -08:00
..
2010-11-30 23:10:26 -08:00
2010-11-30 23:10:26 -08:00
2011-01-06 22:34:59 -08:00
2010-11-30 23:10:26 -08:00
2010-11-30 23:10:26 -08:00
2007-10-20 00:47:32 +02:00
2010-11-30 23:10:26 -08:00
2010-11-30 23:10:26 -08:00