core_vers[sizeof(core_vers) - 1] = '\0';  if (strcmp(vers, core_vers) && kernel == 0) syslog(LOG_WARNING, "warning: %s version mismatch:\n\t%s\nand\t%s\n", _PATH_UNIX, vers, core_vers);  KREAD(kd_dump, dump_nl[X_PANICSTR].n_value, &panicstr); if (panicstr) { cp       = panic_mesg; panicloc = panicstr; do { KREAD(kd_dump, panicloc, cp); panicloc++; } while (*cp++ && cp < &panic_mesg[sizeof(panic_mesg)]); } }
check_kmem(){	register char	*cp;	register int	panicloc;	char core_vers[1024];	if (kvm_read(kd_dump, dump_nl[X_VERSION].n_value, core_vers,	    sizeof(core_vers) != sizeof(core_vers))		syslog(LOG_ERR, "%s: kvm_read: version misread", dump_sys);		exit(1);	}