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.
1 file changed