From bdc328cb136b3baae69a1147c71f907634cc051f Mon Sep 17 00:00:00 2001 From: thorpej Date: Fri, 13 Feb 1998 00:27:37 +0000 Subject: [PATCH] Use the platform family name in alpha_unknown_sysname(). --- sys/arch/alpha/alpha/machdep.c | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/sys/arch/alpha/alpha/machdep.c b/sys/arch/alpha/alpha/machdep.c index 53bede43a892..19c79405a1aa 100644 --- a/sys/arch/alpha/alpha/machdep.c +++ b/sys/arch/alpha/alpha/machdep.c @@ -1,4 +1,4 @@ -/* $NetBSD: machdep.c,v 1.104 1998/02/13 00:12:51 thorpej Exp $ */ +/* $NetBSD: machdep.c,v 1.105 1998/02/13 00:27:37 thorpej Exp $ */ /* * Copyright (c) 1994, 1995, 1996 Carnegie-Mellon University. @@ -29,7 +29,7 @@ #include /* RCS ID & Copyright macro defns */ -__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.104 1998/02/13 00:12:51 thorpej Exp $"); +__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.105 1998/02/13 00:27:37 thorpej Exp $"); #include #include @@ -862,11 +862,10 @@ alpha_variation_name(variation, avtp) const char * alpha_unknown_sysname() { - /* string is 24 bytes + 64 bit hex number (16 bytes) */ - static char s[42]; + static char s[128]; /* safe size */ - sprintf(s, "unknown model variation %lx", - hwrpb->rpb_variation & SV_ST_MASK); + sprintf(s, "%s family, unknown model variation 0x%lx", + platform.family, hwrpb->rpb_variation & SV_ST_MASK); return ((const char *)s); }