summaryrefslogtreecommitdiffstats
path: root/cpukit/dtc
diff options
context:
space:
mode:
authorMaxime Ripard <maxime.ripard@free-electrons.com>2016-10-06 13:39:56 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2018-07-19 07:01:09 +0200
commit4f7c3ac981fe67fade2b4e5d5e1818a4b2c5242b (patch)
treebd2ee72f6fd67509c6a05273996ef90586494dc8 /cpukit/dtc
parente879a98ddeb5c738d598d6a91e4b4f2da6933cde (diff)
downloadrtems-4f7c3ac981fe67fade2b4e5d5e1818a4b2c5242b.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 'cpukit/dtc')
-rw-r--r--cpukit/dtc/libfdt/fdt_strerror.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/cpukit/dtc/libfdt/fdt_strerror.c b/cpukit/dtc/libfdt/fdt_strerror.c
index 3cb357f604..e00fcb19df 100644
--- a/cpukit/dtc/libfdt/fdt_strerror.c
+++ b/cpukit/dtc/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),