fix a bug in boot_func.
2 files changed