docker: Add build container files
[petitboot] / discover / hostboot.c
index 9a27b0fc29a5514a5cd62c3e3934a5849e7689d8..bc9a3baac27175482333a314be94c972fa28d041 100644 (file)
@@ -12,11 +12,11 @@ void hostboot_load_versions(struct system_info *info)
 {
        int n = 0;
 
-       n = flash_parse_version(info, &info->platform_current, true);
+       n = flash_parse_version(info, &info->platform_primary, true);
        if (n < 0)
                pb_log("Failed to read platform versions for current side\n");
        else
-               info->n_current = n;
+               info->n_primary = n;
 
        n = flash_parse_version(info, &info->platform_other, false);
        if (n < 0)