aboutsummaryrefslogtreecommitdiff
path: root/libfdt
diff options
context:
space:
mode:
authorMaxime Ripard <maxime.ripard@free-electrons.com>2016-10-06 13:39:56 +0200
committerDavid Gibson <david@gibson.dropbear.id.au>2016-10-07 12:28:58 +1100
commitdeb0a5c1aeaa34130305d765251bbb76e888f4e7 (patch)
tree294fb1d05f9ac5b527a918fd51b6ee1e78f7afc0 /libfdt
parent7b7a6be9ba159125a8e11b7ccc86233d17109187 (diff)
downloaddtc-deb0a5c1aeaa34130305d765251bbb76e888f4e7.zip
dtc-deb0a5c1aeaa34130305d765251bbb76e888f4e7.tar.gz
dtc-deb0a5c1aeaa34130305d765251bbb76e888f4e7.tar.bz2
libfdt: Add BADPHANDLE error string
The BADPHANDLE error was missing a string, leading to an <unknown error> string being returned if you were to call fdt_strerror. Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'libfdt')
-rw-r--r--libfdt/fdt_strerror.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libfdt/fdt_strerror.c b/libfdt/fdt_strerror.c
index 3cb357f..e00fcb1 100644
--- a/libfdt/fdt_strerror.c
+++ b/libfdt/fdt_strerror.c
@@ -69,6 +69,7 @@ static struct fdt_errtabent fdt_errtable[] = {
FDT_ERRTABENT(FDT_ERR_BADOFFSET),
FDT_ERRTABENT(FDT_ERR_BADPATH),
+ FDT_ERRTABENT(FDT_ERR_BADPHANDLE),
FDT_ERRTABENT(FDT_ERR_BADSTATE),
FDT_ERRTABENT(FDT_ERR_TRUNCATED),