diff options
author | wollman <wollman@FreeBSD.org> | 1994-09-24 00:08:43 +0000 |
---|---|---|
committer | wollman <wollman@FreeBSD.org> | 1994-09-24 00:08:43 +0000 |
commit | 193a8fae68d5a51a2dad17c0ee77db1a6d60cb98 (patch) | |
tree | 435e4d2e36ec5a88d5e2af12354bfba8fc5f8bf9 /usr.sbin/xntpd/util/tickadj.c | |
parent | 89231ffae79ba79bfb400864fb59db987a7d58c7 (diff) | |
download | FreeBSD-src-193a8fae68d5a51a2dad17c0ee77db1a6d60cb98.zip FreeBSD-src-193a8fae68d5a51a2dad17c0ee77db1a6d60cb98.tar.gz |
Get rid of _PATH_UNIX completely; use getbootfile(3) instead.
DANGER WILL ROBINSON!
_PATH_UNIX is currently defined as the literal string "don't use this".
I am of two minds about this myself, but wanted to get something into the
tree as quickly as possible.
Diffstat (limited to 'usr.sbin/xntpd/util/tickadj.c')
-rw-r--r-- | usr.sbin/xntpd/util/tickadj.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/xntpd/util/tickadj.c b/usr.sbin/xntpd/util/tickadj.c index 1d7ba66..9bc8f35 100644 --- a/usr.sbin/xntpd/util/tickadj.c +++ b/usr.sbin/xntpd/util/tickadj.c @@ -420,9 +420,9 @@ getoffsets(filex, tick_off, tickadj_off, dosync_off, noprintf_off) {""}, }; #endif - static char *kernels[] = { -#ifdef _PATH_UNIX - _PATH_UNIX, + char *kernels[] = { +#if __FreeBSD__ > 2 + (char *)getbootfile(), #endif "/vmunix", "/unix", |