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:
parent
a162622bb8
commit
f844bfba3c
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user