summaryrefslogtreecommitdiff
path: root/com32/hdt/hdt-dump.c
diff options
context:
space:
mode:
Diffstat (limited to 'com32/hdt/hdt-dump.c')
-rw-r--r--com32/hdt/hdt-dump.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/com32/hdt/hdt-dump.c b/com32/hdt/hdt-dump.c
index 03049d9b..17bcc253 100644
--- a/com32/hdt/hdt-dump.c
+++ b/com32/hdt/hdt-dump.c
@@ -224,7 +224,7 @@ void dump(struct s_hardware *hardware)
/* We close & flush the file to send */
cpio_close(upload);
- if ((err = flush_data(upload)) != TFTP_OK) {
+ if ((err = flush_data(upload)) != TFTP_ERR_OK) {
/* As we manage a tftp connection, let's display the associated error message */
more_printf("Dump failed !\n");
more_printf("TFTP ERROR on : %s:/%s \n", hardware->tftp_ip, filename);