Error and return when failing stat('/dev/console').
authorYousong Zhou <yszhou4tech@gmail.com>
Tue, 23 Jul 2013 08:28:41 +0000 (16:28 +0800)
committerJohn Crispin <blogic@openwrt.org>
Tue, 23 Jul 2013 10:24:31 +0000 (12:24 +0200)
commit600a9c0d2b74b113fe032ff15e77f0bd4790125b
tree1364e8e34bc7f644a0178ecd5aac0210b3994a99
parentdf1b0c3512fe6af3724536b45f07fb86ad166585
Error and return when failing stat('/dev/console').

Since mkdev("*", 0600) has been called in early_dev just before
early_console, no need to try checking it again.

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
early.c