uterm: vt: return error in real_deactivate() if VT is dead
authorDavid Herrmann <dh.herrmann@googlemail.com>
Mon, 1 Oct 2012 11:24:41 +0000 (13:24 +0200)
committerDavid Herrmann <dh.herrmann@googlemail.com>
Mon, 1 Oct 2012 11:24:41 +0000 (13:24 +0200)
commit79d2c478604f4be9a18af0c238f68a2b07b8ad55
treeb646821fc3f4e1cb23eec89c1562738cc496e9cd
parent2c6a34deb94268c4fdc494b47242f95a1f40b424
uterm: vt: return error in real_deactivate() if VT is dead

We used to return 0 if we don't know the VT id in real_deactivate().
However, the VT id is nowadays always known so we must return an error
instead.

Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
src/uterm_vt.c