diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2003-01-01 23:38:19 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2003-01-01 23:38:19 +0000 |
commit | 0511f69accaf7f834afb09236139c83680f471e3 (patch) | |
tree | 75b0c3a603ef58951f7448ad68867f62cc2ed912 /sys/arch | |
parent | 6af2311e665f9915a9315c9d804a44a5959b4fc3 (diff) |
Fill cpu_model, so that sysctl hw.model produces something interesting.
Diffstat (limited to 'sys/arch')
-rw-r--r-- | sys/arch/mvme88k/mvme88k/machdep.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/arch/mvme88k/mvme88k/machdep.c b/sys/arch/mvme88k/mvme88k/machdep.c index ff06ac9b980..1c01349c853 100644 --- a/sys/arch/mvme88k/mvme88k/machdep.c +++ b/sys/arch/mvme88k/mvme88k/machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: machdep.c,v 1.97 2002/12/17 23:11:32 millert Exp $ */ +/* $OpenBSD: machdep.c,v 1.98 2003/01/01 23:38:18 miod Exp $ */ /* * Copyright (c) 1998, 1999, 2000, 2001 Steve Murphree, Jr. * Copyright (c) 1996 Nivas Madhur @@ -394,7 +394,8 @@ void identifycpu() { cpuspeed = getcpuspeed(); - printf("\nModel: Motorola MVME%x %dMhz\n", brdtyp, cpuspeed); + sprintf(cpu_model, "Motorola MVME%x, %dMHz", brdtyp, cpuspeed); + printf("\nModel: %s\n", cpu_model); } /* |