commit | 54a708ca06830c3fe3df8c0001ab33df784701f9 | [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 | cdb1808aefbc7173d687cb03de15b8ee3a671743 [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]