From 6b2d968051f2dccb198eb5cba35f72ac82ac7cf8 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Fri, 22 Nov 2013 07:43:26 +0100 Subject: m MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/security.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/security.c') diff --git a/src/security.c b/src/security.c index 626110a..3abd7b4 100644 --- a/src/security.c +++ b/src/security.c @@ -113,13 +113,13 @@ void chown_tty(uid_t owner, gid_t group, char with_fail) if (ioctl(STDIN_FILENO, VT_GETSTATE, &vtstat) == 0) { int n = vtstat.v_active; - char _vcs[VCS_VCSA_LEN + 6]; - char _vcsa[VCS_VCSA_LEN + 6]; + char _vcs[VCS_LEN + 6]; + char _vcsa[VCSA_LEN + 6]; char* vcs = _vcs; char* vcsa = _vcsa; - vcs += VCS_VCSA_LEN + 6; - vcsa += VCS_VCSA_LEN + 6; + vcs += VCS_LEN + 6; + vcsa += VCSA_LEN + 6; if (n) { -- cgit v1.2.3-70-g09d2