login: make sd_session_get_vt() actually work
authorDavid Herrmann <dh.herrmann@gmail.com>
Thu, 10 Oct 2013 11:11:27 +0000 (13:11 +0200)
committerDavid Herrmann <dh.herrmann@gmail.com>
Thu, 10 Oct 2013 11:14:18 +0000 (13:14 +0200)
commit0581dac2c146cef0f55841a4c136dc48409c8eaa
tree4edc551516450de839f27b94617af91e6d177869
parent3f4fee033bf0f623de74f3e8a14c42b8ff81c36e
login: make sd_session_get_vt() actually work

We use VTNR, not VTNr as key. Until now sd_session_get_vt() just returns
an error.
src/login/sd-login.c