This commit is contained in:
Vladimir Serbinenko committed 2016-02-21 00:05:21 +01:00
1 parent 598185f806
commit fbda565356
1 file changed
+1 -1
+1 -1
View File
@@ -425,7 +425,7 @@ grub_fdt_get_prop (const void *fdt, unsigned int nodeoffset, const char *name,
if (!prop) if (!prop)
return 0; return 0;
if (len) if (len)
*len = grub_be_to_cpu32 (*(prop + 2)); *len = grub_be_to_cpu32 (*(prop + 1));
return prop + 3; return prop + 3;
} }