Make this silly thing use _PATH_UNIX first. Remove some of the more

bogus alternate kernel names.
Submitted by:	jkh
This commit is contained in:
Jordan K. Hubbard 1994-09-08 19:25:09 +00:00
parent a162622bb8
commit f844bfba3c

View File

@ -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;