chain.c: Fix misplaced #endif breaking non-DEBUG builds
authorH. Peter Anvin <hpa@linux.intel.com>
Mon, 26 Mar 2012 21:57:54 +0000 (14:57 -0700)
committerH. Peter Anvin <hpa@linux.intel.com>
Mon, 26 Mar 2012 21:57:54 +0000 (14:57 -0700)
Fix misplaced #endif which made it impossible to build without DEBUG.

Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
com32/chain/chain.c

index f458253..30153c4 100644 (file)
@@ -471,10 +471,10 @@ static int setup_handover(const struct part_iter *iter,
 #ifdef DEBUG
        dprintf("MBR handover:\n");
        disk_dos_part_dump(ha);
+#endif
     } else {
        /* shouldn't ever happen */
        goto bail;
-#endif
     }
 
     data->base = 0x7be;