From c0cb1540eaf8570881b50007ae8e94b13ae96d0d Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Mon, 10 Dec 2007 17:36:57 +0000 Subject: For a few years already, dkcsum can be silent --- sys/arch/amd64/amd64/dkcsum.c | 4 +++- sys/arch/i386/i386/dkcsum.c | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) (limited to 'sys/arch') diff --git a/sys/arch/amd64/amd64/dkcsum.c b/sys/arch/amd64/amd64/dkcsum.c index 4878239e6af..b046aeab844 100644 --- a/sys/arch/amd64/amd64/dkcsum.c +++ b/sys/arch/amd64/amd64/dkcsum.c @@ -1,4 +1,4 @@ -/* $OpenBSD: dkcsum.c,v 1.9 2006/01/22 00:39:59 miod Exp $ */ +/* $OpenBSD: dkcsum.c,v 1.10 2007/12/10 17:36:56 deraadt Exp $ */ /*- * Copyright (c) 1997 Niklas Hallqvist. All rights reserved. @@ -149,9 +149,11 @@ dkcsumattach(void) picked = hit || (bdi->flags & BDI_PICKED); if (!picked) hit = bdi; +#ifdef DEBUG printf("dkcsum: %s matches BIOS drive %#x%s\n", dv->dv_xname, bdi->bios_number, (picked ? " IGNORED" : "")); +#endif } /* diff --git a/sys/arch/i386/i386/dkcsum.c b/sys/arch/i386/i386/dkcsum.c index 19af1e527b8..db327069a1e 100644 --- a/sys/arch/i386/i386/dkcsum.c +++ b/sys/arch/i386/i386/dkcsum.c @@ -1,4 +1,4 @@ -/* $OpenBSD: dkcsum.c,v 1.21 2006/05/11 13:21:11 mickey Exp $ */ +/* $OpenBSD: dkcsum.c,v 1.22 2007/12/10 17:36:56 deraadt Exp $ */ /*- * Copyright (c) 1997 Niklas Hallqvist. All rights reserved. @@ -149,9 +149,11 @@ dkcsumattach(void) picked = hit || (bdi->flags & BDI_PICKED); if (!picked) hit = bdi; +#ifdef DEBUG printf("dkcsum: %s matches BIOS drive %#x%s\n", dv->dv_xname, bdi->bios_number, (picked ? " IGNORED" : "")); +#endif } /* -- cgit v1.2.3