From: Keith Bostic Date: Mon, 3 Apr 1989 03:33:23 +0000 (-0800) Subject: add pathnames.h X-Git-Tag: BSD-4_3_Tahoe-Snapshot-Development~565 X-Git-Url: https://git.subgeniuskitty.com/unix-history/.git/commitdiff_plain/248657fc51681cdf6cac87b480f5168ed606fc15 add pathnames.h SCCS-vsn: libexec/fingerd/fingerd.c 5.5 --- diff --git a/usr/src/libexec/fingerd/fingerd.c b/usr/src/libexec/fingerd/fingerd.c index 4cd7008650..28ec0f9caa 100644 --- a/usr/src/libexec/fingerd/fingerd.c +++ b/usr/src/libexec/fingerd/fingerd.c @@ -22,10 +22,11 @@ char copyright[] = #endif /* not lint */ #ifndef lint -static char sccsid[] = "@(#)fingerd.c 5.4 (Berkeley) %G%"; +static char sccsid[] = "@(#)fingerd.c 5.5 (Berkeley) %G%"; #endif /* not lint */ #include +#include "pathnames.h" main() { @@ -72,7 +73,7 @@ main() (void)dup2(p[1], 1); (void)close(p[1]); } - execv("/usr/ucb/finger", av); + execv(_PATH_FINGER, av); _exit(1); case -1: fatal("fork");