浏览代码

Place the actual version string in .data16, rather than just the

pointer to it.
tags/v0.9.3
Michael Brown 17 年前
父节点
当前提交
e1646b4080
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      src/arch/i386/image/multiboot.c

+ 1
- 1
src/arch/i386/image/multiboot.c 查看文件

@@ -199,7 +199,7 @@ static struct multiboot_info __data16 ( mbinfo );
199 199
 #define mbinfo __use_data16 ( mbinfo )
200 200
 
201 201
 /** The multiboot bootloader name */
202
-static const char * __data16 ( mb_bootloader_name ) = "gPXE " VERSION;
202
+static char __data16_array ( mb_bootloader_name, [] ) = "gPXE " VERSION;
203 203
 #define mb_bootloader_name __use_data16 ( mb_bootloader_name )
204 204
 
205 205
 /** The multiboot memory map */

正在加载...
取消
保存