vcstime: Use either /dev/vcs[a] or /dev/vcs[a]0
authorMichael Schutte <michi@uiae.at>
Sat, 2 Jan 2010 16:34:41 +0000 (17:34 +0100)
committerAlexey Gladkov <gladkov.alexey@gmail.com>
Sun, 3 Jan 2010 00:10:34 +0000 (03:10 +0300)
commitca8f499e5e7900a8a4034a3523566bf6e1d6601d
treef55ed6a68381157ab9bea0ab61111bc268cd7fe8
parentd10c22e120863a4dc2dc6fd82431bdb962327891
vcstime: Use either /dev/vcs[a] or /dev/vcs[a]0

Make vcstime work on all systems by considering both /dev/vcs and
/dev/vcs0 to hold the console memory for the current VT.

Signed-off-by: Michael Schutte <michi@uiae.at>
Signed-off-by: Alexey Gladkov <gladkov.alexey@gmail.com>
contrib/vcstime.c