summaryrefslogtreecommitdiffstats
path: root/usr.sbin/xntpd/util
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1994-09-08 19:25:09 +0000
committerjkh <jkh@FreeBSD.org>1994-09-08 19:25:09 +0000
commite41fdd479ecb19c33c6c82b35c42df8f865e52c9 (patch)
tree07868a992f8f86369b13162a3dd44e14ebe8dd21 /usr.sbin/xntpd/util
parenta3e568d972e2ed5c584351b8231ef542a515ab32 (diff)
downloadFreeBSD-src-e41fdd479ecb19c33c6c82b35c42df8f865e52c9.zip
FreeBSD-src-e41fdd479ecb19c33c6c82b35c42df8f865e52c9.tar.gz
Make this silly thing use _PATH_UNIX first. Remove some of the more
bogus alternate kernel names. Submitted by: jkh
Diffstat (limited to 'usr.sbin/xntpd/util')
-rw-r--r--usr.sbin/xntpd/util/tickadj.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.sbin/xntpd/util/tickadj.c b/usr.sbin/xntpd/util/tickadj.c
index caec068..1d7ba66 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;
OpenPOWER on IntegriCloud