]> git.proxmox.com Git - mirror_zfs.git/commitdiff
Disable efi_debug in --enable-debug builds
authorBrian Behlendorf <behlendorf1@llnl.gov>
Wed, 20 Apr 2016 18:39:15 +0000 (11:39 -0700)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Mon, 25 Apr 2016 18:13:26 +0000 (11:13 -0700)
Disable the additional EFI debugging in all builds.  Some users
run debug builds in production and the extra log messages can
cause confusion.  Beyond that the log messages are rarely useful.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Tony Hutter <hutter2@llnl.gov>
Closes #4523

lib/libefi/rdwr_efi.c

index a914c0df08fd8b2995d63b4e578951d77cee63f6..67de216c03c30918b6934220c09abd25ea341840 100644 (file)
@@ -171,11 +171,7 @@ struct dk_map2  default_vtoc_map[NDKMAP] = {
 #endif                 /* defined(_SUNOS_VTOC_16) */
 };
 
-#ifdef DEBUG
-int efi_debug = 1;
-#else
 int efi_debug = 0;
-#endif
 
 static int efi_read(int, struct dk_gpt *);