Move the debug print into the ifdef DEBUG section.
authorrahnds <rahnds@openbsd.org>
Sat, 15 Feb 1997 15:22:08 +0000 (15:22 +0000)
committerrahnds <rahnds@openbsd.org>
Sat, 15 Feb 1997 15:22:08 +0000 (15:22 +0000)
sys/arch/mvme68k/mvme68k/disksubr.c

index aae9835..c8b6197 100644 (file)
@@ -1,4 +1,4 @@
-/*     $OpenBSD: disksubr.c,v 1.10 1997/02/15 14:47:59 rahnds Exp $ */
+/*     $OpenBSD: disksubr.c,v 1.11 1997/02/15 15:22:08 rahnds Exp $ */
 
 /*
  * Copyright (c) 1995 Dale Rahn.
@@ -611,8 +611,8 @@ cputobsdlabel(lp, clp)
 
                oldcksum = nlp->d_checksum;
                nlp->d_checksum = 0;
-printf("old chksum = %x new %x\n", oldcksum, dkcksum(nlp));
 #ifdef DEBUG
+printf("old chksum = %x new %x\n", oldcksum, dkcksum(nlp));
        printlp(nlp, "lp disklabel");
        printclp(clp, "clp disklabel");
 #endif