Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.sbin/cpuctl/arch fix for archs w/o cpu ucode driver: add...
details: https://anonhg.NetBSD.org/src/rev/333bb978258f
branches: trunk
changeset: 781297:333bb978258f
user: drochner <drochner%NetBSD.org@localhost>
date: Fri Aug 31 07:27:27 2012 +0000
description:
fix for archs w/o cpu ucode driver: add dummy definition
diffstat:
usr.sbin/cpuctl/arch/noarch.c | 10 +++++++---
1 files changed, 7 insertions(+), 3 deletions(-)
diffs (35 lines):
diff -r a42c61abfe77 -r 333bb978258f usr.sbin/cpuctl/arch/noarch.c
--- a/usr.sbin/cpuctl/arch/noarch.c Fri Aug 31 07:00:36 2012 +0000
+++ b/usr.sbin/cpuctl/arch/noarch.c Fri Aug 31 07:27:27 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: noarch.c,v 1.3 2012/08/29 17:13:23 drochner Exp $ */
+/* $NetBSD: noarch.c,v 1.4 2012/08/31 07:27:27 drochner Exp $ */
/*-
* Copyright (c) 2008 The NetBSD Foundation, Inc.
@@ -30,11 +30,15 @@
#include <sys/types.h>
#ifndef lint
-__RCSID("$NetBSD: noarch.c,v 1.3 2012/08/29 17:13:23 drochner Exp $");
+__RCSID("$NetBSD: noarch.c,v 1.4 2012/08/31 07:27:27 drochner Exp $");
#endif /* not lint */
#include <stdio.h>
+struct cpu_ucode {
+ int dummy;
+};
+
#include "../cpuctl.h"
void
@@ -45,7 +49,7 @@
}
int
-ucodeupdate_check(int, struct cpu_ucode *uc)
+ucodeupdate_check(int fd, struct cpu_ucode *uc)
{
return 0;
Home |
Main Index |
Thread Index |
Old Index