diff options
author | Maxime Ripard <maxime.ripard@free-electrons.com> | 2016-10-06 13:39:56 +0200 |
---|---|---|
committer | David Gibson <david@gibson.dropbear.id.au> | 2016-10-07 12:28:58 +1100 |
commit | deb0a5c1aeaa34130305d765251bbb76e888f4e7 (patch) | |
tree | 294fb1d05f9ac5b527a918fd51b6ee1e78f7afc0 /libfdt | |
parent | 7b7a6be9ba159125a8e11b7ccc86233d17109187 (diff) | |
download | dtc-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.c | 1 |
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), |