diff options
author | Aaro Koskinen <aaro.koskinen@iki.fi> | 2012-02-04 21:55:01 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2012-02-04 21:55:01 +0100 |
commit | 6e9d047c1558f92531ea12b9e3206023ab77cf51 (patch) | |
tree | 5c1c7b2d8b20fc64d18208075282b771287678ba /procps/mpstat.c | |
parent | ef43beac63aa7e4b2bccb069e47b5e4902bb895f (diff) | |
download | busybox-6e9d047c1558f92531ea12b9e3206023ab77cf51.tar.gz |
cttyhack: handle multiple consoles found in sysfs
If multiple consoles are found from the sysfs file, cttyhack fails:
cttyhack: can't open '/dev/tty0 ttyS0': No such file or directory
In such cases take the last one as the kernel will use that one for
/dev/console.
Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'procps/mpstat.c')
0 files changed, 0 insertions, 0 deletions