diff options
author | jkh <jkh@FreeBSD.org> | 1994-09-08 19:25:09 +0000 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 1994-09-08 19:25:09 +0000 |
commit | e41fdd479ecb19c33c6c82b35c42df8f865e52c9 (patch) | |
tree | 07868a992f8f86369b13162a3dd44e14ebe8dd21 /usr.sbin/xntpd | |
parent | a3e568d972e2ed5c584351b8231ef542a515ab32 (diff) | |
download | FreeBSD-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')
-rw-r--r-- | usr.sbin/xntpd/util/tickadj.c | 4 |
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; |