commit | 06860667bfd58451f937e0fa6f2a79d2fe305313 | [log] [tgz] |
---|---|---|
author | Sanchayan Maity <maitysanchayan@gmail.com> | Mon Aug 08 16:56:17 2016 +0530 |
committer | Marek Vasut <marex@denx.de> | Tue Sep 27 23:30:22 2016 +0200 |
tree | 86d6d1d1660ae6851260fc4c25437ec66b95017e | |
parent | e0552479de6ce0dd5cd65a947b3b8c62536fc1af [diff] |
cmd: dfu: Add error handling for failed registration Without this, if g_dnl_register() fails, DFU code continues on blindly and crashes. This fix makes it simply print an error message instead. Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com> [l.majewski@samsung.com - some manual tweaks needed]