1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-18 10:35:55 +00:00

Fix some warnings.

This commit is contained in:
Thomas Moestl 2001-10-12 16:00:30 +00:00
parent b6aaa482ef
commit ccece9b5ff
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=84848

View File

@ -11,8 +11,8 @@
#include <sys/param.h>
#include <sys/systm.h>
#include <machine/cpu.h>
#include <machine/cpufunc.h>
#include <machine/md_var.h>
#include <machine/ver.h>
void
@ -65,7 +65,7 @@ cpu_identify(unsigned int freq)
printf("CPU: %s %s Processor (%d.%02d MHZ CPU)\n", manus, impls,
(freq + 4999) / 1000000, ((freq + 4999) / 10000) % 100);
if (bootverbose) {
printf(" mask=0x%x maxtl=%d maxwin=%d\n", VER_MASK(vers),
printf(" mask=0x%lx maxtl=%ld maxwin=%ld\n", VER_MASK(vers),
VER_MAXTL(vers), VER_MAXWIN(vers));
}
}