commit | d0fde22e65cb2c7b8af8e7d8a9f08d5de7941876 | [log] [tgz] |
---|---|---|
author | Erwan Velu <erwanaliasr1@gmail.com> | Wed Aug 19 07:22:19 2015 +0200 |
committer | Erwan Velu <erwanaliasr1@gmail.com> | Fri Sep 04 17:57:52 2015 +0200 |
tree | a329512923a198f5e41dcadc9d1d9264c36becc0 | |
parent | ac87e802d87134170faa323085b2165599cdad01 [diff] |
hdt: print tftp error number & message if dump failed The current code was making a mistake by searching the -err element in the array as it was resulting into a negative value. The current patch does print the error number which could be useful but also retrieve the proper string to indicate the real error we encountered.