summaryrefslogtreecommitdiffstats
path: root/src/include/gpxe/sanboot.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/gpxe/sanboot.h')
-rw-r--r--src/include/gpxe/sanboot.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/include/gpxe/sanboot.h b/src/include/gpxe/sanboot.h
index 68fd0b9b..05a3ddf0 100644
--- a/src/include/gpxe/sanboot.h
+++ b/src/include/gpxe/sanboot.h
@@ -8,9 +8,9 @@ struct sanboot_protocol {
int ( * boot ) ( const char *root_path );
};
-#define SANBOOT_PROTOCOLS "sanboot_protocols"
+#define SANBOOT_PROTOCOLS \
+ __table ( struct sanboot_protocol, "sanboot_protocols" )
-#define __sanboot_protocol \
- __table ( struct sanboot_protocol, SANBOOT_PROTOCOLS, 01 )
+#define __sanboot_protocol __table_entry ( SANBOOT_PROTOCOLS, 01 )
#endif /* _GPXE_SANBOOT_H */