cttyhack: remove the trailing newline when reading console name from sysfs
authorKevin Cernekee <cernekee@gmail.com>
Wed, 13 Jul 2011 16:29:55 +0000 (09:29 -0700)
committerDenys Vlasenko <vda.linux@googlemail.com>
Tue, 16 Aug 2011 21:29:54 +0000 (23:29 +0200)
commit816cd16a4ce81ec8d2989a356256f813fc91475d
tree4be90720f30ae019bd104908ce2a9a995525aed6
parent9176f6c52cb60f9de72a1c8e6b4dafc7c29ec1bf
cttyhack: remove the trailing newline when reading console name from sysfs

Signed-off-by: Kevin Cernekee <cernekee@gmail.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
shell/cttyhack.c