fix retval unpacking of get_fdt