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:
Ronald G. Minnich 2006-10-19 15:39:00 +00:00
commit 71651ca836

View file

@ -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");
}