Skip to content

Commit

Permalink
Fix typo in GuestPanicContext
Browse files Browse the repository at this point in the history
Signed-off-by: Tomasz Andrzejak <andreiltd@gmail.com>
  • Loading branch information
andreiltd committed Nov 14, 2024
1 parent 1612950 commit f17a451
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hyperlight_host/src/mem/layout.rs
Original file line number Diff line number Diff line change
Expand Up @@ -626,7 +626,7 @@ impl SandboxMemoryLayout {
#[instrument(skip_all, parent = Span::current(), level= "Trace")]
pub(crate) fn get_guest_panic_context_buffer_pointer_offset(&self) -> usize {
// The guest panic data pointer is immediately after the guest
// panic data size field in the `GuestPanicCContext` data which is a `u64`
// panic data size field in the `GuestPanicContext` data which is a `u64`
self.get_guest_panic_context_size_offset() + size_of::<u64>()
}

Expand Down

0 comments on commit f17a451

Please sign in to comment.