Fix the emit so that hex constants have a 0x preceding it
signed-off-by: Ronald G. Minnich git-svn-id: svn://coreboot.org/repository/LinuxBIOSv3@28 f3766cd6-281f-0410-b1cd-43a5c92072e9
This commit is contained in:
parent
2ee00754ea
commit
71651ca836
1 changed files with 1 additions and 1 deletions
|
|
@ -417,7 +417,7 @@ static void linuxbios_emit_data(void *e, struct property *p)
|
|||
free(cleanname);
|
||||
|
||||
for(i = 0; i < d.len; i++)
|
||||
fprintf(f, "%02x,", d.val[i]);
|
||||
fprintf(f, "0x%02x,", d.val[i]);
|
||||
|
||||
fprintf(f, "};\n");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue