[syslinux] [PATCH] pxe: use err_damage

H. Peter Anvin hpa at zytor.com
Fri Aug 7 16:45:54 PDT 2009


On 08/07/2009 02:13 PM, Sebastian Herbszt wrote:
> 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);
>      }
>      

I think we should do the opposite, instead... err_damage and their ilk
are legacy from the assembly implementation.

	-hpa




More information about the Syslinux mailing list