From 6dcb182aeedec89028c65eedd90d586980f01622 Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Sun, 14 Jan 2007 02:21:02 +0000 Subject: [PATCH] Fill in BufferSize in PXENV_GET_CACHED_INFO --- src/interface/pxe/pxe_preboot.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/interface/pxe/pxe_preboot.c b/src/interface/pxe/pxe_preboot.c index 96b07006..894ed436 100644 --- a/src/interface/pxe/pxe_preboot.c +++ b/src/interface/pxe/pxe_preboot.c @@ -122,6 +122,7 @@ PXENV_EXIT_t pxenv_get_cached_info ( struct s_PXENV_GET_CACHED_INFO buffer = real_to_user ( get_cached_info->Buffer.segment, get_cached_info->Buffer.offset ); copy_to_user ( buffer, 0, data, len ); + get_cached_info->BufferSize = len; free ( data ); get_cached_info->Status = PXENV_STATUS_SUCCESS;