Skip to content

Commit

Permalink
libfdt: Add ALIGNMENT error string
Browse files Browse the repository at this point in the history
The ALIGNMENT error was missing a string, leading to <unknown error>
being returned.

Signed-off-by: Georg Kotheimer <[email protected]>
Signed-off-by: David Gibson <[email protected]>
  • Loading branch information
gkotheim authored and dgibson committed Aug 2, 2021
1 parent 69595a1 commit 0869f82
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions libfdt/fdt_strerror.c
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ static struct fdt_errtabent fdt_errtable[] = {
FDT_ERRTABENT(FDT_ERR_BADOVERLAY),
FDT_ERRTABENT(FDT_ERR_NOPHANDLES),
FDT_ERRTABENT(FDT_ERR_BADFLAGS),
FDT_ERRTABENT(FDT_ERR_ALIGNMENT),
};
#define FDT_ERRTABSIZE ((int)(sizeof(fdt_errtable) / sizeof(fdt_errtable[0])))

Expand Down

0 comments on commit 0869f82

Please sign in to comment.