From 193a8fae68d5a51a2dad17c0ee77db1a6d60cb98 Mon Sep 17 00:00:00 2001 From: wollman Date: Sat, 24 Sep 1994 00:08:43 +0000 Subject: 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. --- usr.sbin/xntpd/util/tickadj.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'usr.sbin/xntpd/util/tickadj.c') 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", -- cgit v1.1