From f844bfba3c42182b172af3f44e86d1cc20ba206a Mon Sep 17 00:00:00 2001 From: "Jordan K. Hubbard" Date: Thu, 8 Sep 1994 19:25:09 +0000 Subject: [PATCH] Make this silly thing use _PATH_UNIX first. Remove some of the more bogus alternate kernel names. Submitted by: jkh --- usr.sbin/xntpd/util/tickadj.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/usr.sbin/xntpd/util/tickadj.c b/usr.sbin/xntpd/util/tickadj.c index caec0687179..1d7ba66767e 100644 --- a/usr.sbin/xntpd/util/tickadj.c +++ b/usr.sbin/xntpd/util/tickadj.c @@ -421,13 +421,15 @@ getoffsets(filex, tick_off, tickadj_off, dosync_off, noprintf_off) }; #endif static char *kernels[] = { +#ifdef _PATH_UNIX + _PATH_UNIX, +#endif "/vmunix", "/unix", "/mach", "/kernel/unix", "/386bsd", "/netbsd", - "/hp-ux", NULL }; struct stat stbuf;