[syslinux] [PATCH] pxe: use err_damage

Sebastian Herbszt herbszt at gmx.de
Fri Aug 7 14:13:16 PDT 2009


Use already defined err_damage.

Signed-off-by: Sebastian Herbszt <herbszt at gmx.de>

diff --git a/core/pxe.c b/core/pxe.c
index 81d3e23..a118677 100644
--- a/core/pxe.c
+++ b/core/pxe.c
@@ -977,7 +977,7 @@ static void pxe_searchdir(char *filename, struct file *file)
         uw_pkt.buffer[1] = 0;
         uw_pkt.buffersize = 24;
         pxe_call(PXENV_UDP_WRITE, &uw_pkt);
-        printf("TFTP server sent an incomprehesible reply\n");
+        printf("%s\n", err_damage);
         call16(kaboom, NULL, NULL);
     }
     




More information about the Syslinux mailing list