summaryrefslogtreecommitdiffstats
path: root/sys/boot/efi/boot1/boot_module.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/boot/efi/boot1/boot_module.h')
-rw-r--r--sys/boot/efi/boot1/boot_module.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/boot/efi/boot1/boot_module.h b/sys/boot/efi/boot1/boot_module.h
index ceb8843..2c158f6 100644
--- a/sys/boot/efi/boot1/boot_module.h
+++ b/sys/boot/efi/boot1/boot_module.h
@@ -36,12 +36,9 @@
#include <eficonsctl.h>
#ifdef EFI_DEBUG
-#define DPRINTF(fmt, args...) \
- do { \
- printf(fmt, ##args) \
- } while (0)
+#define DPRINTF(fmt, ...) printf(fmt, __VA_ARGS__)
#else
-#define DPRINTF(fmt, args...) {}
+#define DPRINTF(fmt, ...) {}
#endif
/* EFI device info */
@@ -97,6 +94,9 @@ typedef struct boot_module_t
#ifdef EFI_UFS_BOOT
extern const boot_module_t ufs_module;
#endif
+#ifdef EFI_ZFS_BOOT
+extern const boot_module_t zfs_module;
+#endif
/* Functions available to modules. */
extern void add_device(dev_info_t **devinfop, dev_info_t *devinfo);
OpenPOWER on IntegriCloud