diff options
Diffstat (limited to 'sys/arch/amd64')
-rw-r--r-- | sys/arch/amd64/amd64/bios.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/sys/arch/amd64/amd64/bios.c b/sys/arch/amd64/amd64/bios.c index cbf4319e5e8..d685f03e3ba 100644 --- a/sys/arch/amd64/amd64/bios.c +++ b/sys/arch/amd64/amd64/bios.c @@ -1,4 +1,4 @@ -/* $OpenBSD: bios.c,v 1.12 2007/08/06 16:12:25 gwk Exp $ */ +/* $OpenBSD: bios.c,v 1.13 2007/11/03 05:49:17 ckuethe Exp $ */ /* * Copyright (c) 2006 Gordon Willem Klok <gklok@cogeco.ca> * @@ -131,13 +131,15 @@ bios_attach(struct device *parent, struct device *self, void *aux) printf("\n%s:", sc->sc_dev.dv_xname); if ((smbios_get_string(&bios, sb->vendor, scratch, sizeof(scratch))) != NULL) - printf(" vendor %s", scratch); + printf(" vendor %s", + fixstring(scratch)); if ((smbios_get_string(&bios, sb->version, scratch, sizeof(scratch))) != NULL) - printf(" version \"%s\"", scratch); + printf(" version \"%s\"", + fixstring(scratch)); if ((smbios_get_string(&bios, sb->release, scratch, sizeof(scratch))) != NULL) - printf(" date %s", scratch); + printf(" date %s", fixstring(scratch)); } smbios_info(sc->sc_dev.dv_xname); |