summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorChris Kuethe <ckuethe@cvs.openbsd.org>2007-07-04 21:30:49 +0000
committerChris Kuethe <ckuethe@cvs.openbsd.org>2007-07-04 21:30:49 +0000
commita8f496f41ec6f357ebac074ae7dd03cb1c7466d2 (patch)
tree058ffc568b2ad5afa5e38efa00bf584821a4ace2 /sys/arch
parent8c778e7494cf9c8bd0f605a628fafd87b89f5ef7 (diff)
fix dmesg formatting error when hardware random number generator is present
"Yes" deraadt
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/amd64/pci/pchb.c5
1 files changed, 2 insertions, 3 deletions
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