X-Git-Url: https://git.subgeniuskitty.com/unix-history/.git/blobdiff_plain/40883828f9fd4948f6f0e5a28478184b10dd72dc..7abf8d658566ec3a7bd87dcb4b2d9b0902ffd507:/usr/src/libexec/talkd/process.c diff --git a/usr/src/libexec/talkd/process.c b/usr/src/libexec/talkd/process.c index 69616ba7ef..ae73218412 100644 --- a/usr/src/libexec/talkd/process.c +++ b/usr/src/libexec/talkd/process.c @@ -16,7 +16,7 @@ */ #ifndef lint -static char sccsid[] = "@(#)process.c 5.7 (Berkeley) %G%"; +static char sccsid[] = "@(#)process.c 5.8 (Berkeley) %G%"; #endif /* not lint */ /* @@ -35,6 +35,7 @@ static char sccsid[] = "@(#)process.c 5.7 (Berkeley) %G%"; #include #include +#include char *strcpy(); CTL_MSG *find_request(); @@ -173,7 +174,7 @@ find_user(name, tty) } #define SCMPN(a, b) strncmp(a, b, sizeof (a)) status = NOT_HERE; - (void) strcpy(ftty, "/dev/"); + (void) strcpy(ftty, _PATH_DEV); while (fread((char *) &ubuf, sizeof ubuf, 1, fd) == 1) if (SCMPN(ubuf.ut_name, name) == 0) { if (*tty == '\0') {