summaryrefslogtreecommitdiff
path: root/libexec/talkd
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2002-05-22 20:16:18 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2002-05-22 20:16:18 +0000
commit21eb3bbb0a76a71fe53598935b6f9e453ce289f7 (patch)
treec86b24af9a285c4a25902eaba675504bd6c6d1db /libexec/talkd
parente907793543e3a921a9e675c12bde3541069418bc (diff)
Fix last commit.
Diffstat (limited to 'libexec/talkd')
-rw-r--r--libexec/talkd/process.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libexec/talkd/process.c b/libexec/talkd/process.c
index 546098d52ab..3ca736ffc5c 100644
--- a/libexec/talkd/process.c
+++ b/libexec/talkd/process.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: process.c,v 1.12 2002/05/22 20:01:28 millert Exp $ */
+/* $OpenBSD: process.c,v 1.13 2002/05/22 20:16:17 millert Exp $ */
/*
* Copyright (c) 1983 Regents of the University of California.
@@ -35,7 +35,7 @@
#ifndef lint
/*static char sccsid[] = "from: @(#)process.c 5.10 (Berkeley) 2/26/91";*/
-static char rcsid[] = "$Id: process.c,v 1.12 2002/05/22 20:01:28 millert Exp $";
+static char rcsid[] = "$Id: process.c,v 1.13 2002/05/22 20:16:17 millert Exp $";
#endif /* not lint */
/*
@@ -227,8 +227,8 @@ find_user(name, tty, ttyl)
memcpy(line, ubuf.ut_line, UT_LINESIZE);
line[sizeof(line)-1] = '\0';
- strlcat(ftty+sizeof(_PATH_DEV)-1, line,
- sizeof(ftty));
+ ftty[sizeof(_PATH_DEV)-1] = '\0';
+ strlcat(ftty, line, sizeof(ftty));
if (stat(ftty, &statb) == 0) {
if (!(statb.st_mode & S_IWGRP)) {
if (status == NOT_HERE)