From a8f496f41ec6f357ebac074ae7dd03cb1c7466d2 Mon Sep 17 00:00:00 2001 From: Chris Kuethe Date: Wed, 4 Jul 2007 21:30:49 +0000 Subject: fix dmesg formatting error when hardware random number generator is present "Yes" deraadt --- sys/arch/amd64/pci/pchb.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'sys/arch/amd64') diff --git a/sys/arch/amd64/pci/pchb.c b/sys/arch/amd64/pci/pchb.c index f50287a06f4..9e152908a95 100644 --- a/sys/arch/amd64/pci/pchb.c +++ b/sys/arch/amd64/pci/pchb.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pchb.c,v 1.9 2007/06/03 22:56:22 tedu Exp $ */ +/* $OpenBSD: pchb.c,v 1.10 2007/07/04 21:30:48 ckuethe Exp $ */ /* $NetBSD: pchb.c,v 1.1 2003/04/26 18:39:50 fvdl Exp $ */ /* * Copyright (c) 2000 Michael Shalayeff @@ -160,8 +160,6 @@ pchbattach(struct device *parent, struct device *self, void *aux) struct timeval tv1, tv2; int i, r; - printf("\n"); - switch (PCI_VENDOR(pa->pa_id)) { case PCI_VENDOR_AMD: switch (PCI_PRODUCT(pa->pa_id)) { @@ -238,6 +236,7 @@ pchbattach(struct device *parent, struct device *self, void *aux) } break; } + printf("\n"); } int -- cgit v1.2.3