aboutsummaryrefslogtreecommitdiffstats
path: root/com32/hdt
diff options
context:
space:
mode:
authorGene Cumm <gene.cumm@gmail.com>2016-04-23 21:10:41 -0400
committerGene Cumm <gene.cumm@gmail.com>2016-04-23 21:10:41 -0400
commita615768ccafaffc444a808bffc0479ab7dc9efee (patch)
tree2af2b6e040f55e8066c3b659c1824df13f33ff65 /com32/hdt
parent9c18f8b5d6ce73344d0c11643839f0c7fc03b998 (diff)
downloadsyslinux-a615768ccafaffc444a808bffc0479ab7dc9efee.tar.gz
syslinux-a615768ccafaffc444a808bffc0479ab7dc9efee.tar.xz
syslinux-a615768ccafaffc444a808bffc0479ab7dc9efee.zip
libupload: Use new TFTP OK status definition
FTBFS: com32/hdt/hdt-dump.c:227:39: error: ‘TFTP_OK’ undeclared (first use in this function) Signed-off-by: Gene Cumm <gene.cumm@gmail.com>
Diffstat (limited to 'com32/hdt')
-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);