aboutsummaryrefslogtreecommitdiffstats
path: root/lib/libefi
diff options
context:
space:
mode:
authorBrian Behlendorf <[email protected]>2016-04-20 11:39:15 -0700
committerBrian Behlendorf <[email protected]>2016-04-25 11:13:26 -0700
commitb8faf0cba87f90126e591d354945c79e7e7e3c6e (patch)
treefb3b47f8d900153a618eb4f4968409bbc61ec226 /lib/libefi
parent2d82ea8b111103b28b8c9ad0f69dd88736248804 (diff)
Disable efi_debug in --enable-debug builds
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 <[email protected]> Signed-off-by: Tony Hutter <[email protected]> Closes #4523
Diffstat (limited to 'lib/libefi')
-rw-r--r--lib/libefi/rdwr_efi.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/libefi/rdwr_efi.c b/lib/libefi/rdwr_efi.c
index a914c0df0..67de216c0 100644
--- a/lib/libefi/rdwr_efi.c
+++ b/lib/libefi/rdwr_efi.c
@@ -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 *);