diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2003-12-19 05:52:28 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2003-12-19 05:52:28 +0000 |
commit | 06092d9e3d5c3e19c74833188f7f447786c35e6f (patch) | |
tree | b65b92f450068918c19c6567b05ca408442b4b8b /sys/arch/i386 | |
parent | 444010fc08231b08f764bbe79bf1a42e7c2a4517 (diff) |
Make this compile after the struct was reordered. OK tedu@
Diffstat (limited to 'sys/arch/i386')
-rw-r--r-- | sys/arch/i386/i386/est.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/i386/i386/est.c b/sys/arch/i386/i386/est.c index 220e35f12fb..43c5639e9c4 100644 --- a/sys/arch/i386/i386/est.c +++ b/sys/arch/i386/i386/est.c @@ -1,4 +1,4 @@ -/* $OpenBSD: est.c,v 1.1 2003/12/18 23:46:19 tedu Exp $ */ +/* $OpenBSD: est.c,v 1.2 2003/12/19 05:52:27 millert Exp $ */ /* * Copyright (c) 2003 Michael Eriksson. * All rights reserved. @@ -153,7 +153,7 @@ struct fqlist { }; static const struct fqlist pentium_m[] = { -#define ENTRY(s, v) { s, sizeof(v) / sizeof((v)[0]), v } +#define ENTRY(s, v) { s, v, sizeof(v) / sizeof((v)[0]) } ENTRY(" 900", pentium_m_900), ENTRY("1000", pentium_m_1000), ENTRY("1100", pentium_m_1100), @@ -177,8 +177,8 @@ struct est_cpu { static const struct est_cpu est_cpus[] = { { "Intel(R) Pentium(R) M processor ", "MHz", + pentium_m, (sizeof(pentium_m) / sizeof(pentium_m[0])), - pentium_m }, }; |