Fill in BufferSize in PXENV_GET_CACHED_INFO

pull/1/head
Michael Brown 2007-01-14 02:21:02 +00:00
parent 7bc03d37a2
commit 6dcb182aee
1 changed files with 1 additions and 0 deletions

View File

@ -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;