Skip to content

Commit

Permalink
Disable efi_debug in --enable-debug builds
Browse files Browse the repository at this point in the history
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
  • Loading branch information
behlendorf committed Apr 25, 2016
1 parent 2d82ea8 commit b8faf0c
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions lib/libefi/rdwr_efi.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 *);

Expand Down

0 comments on commit b8faf0c

Please sign in to comment.