mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-15 08:30:02 +00:00
kernel: fix compile error when debug-print enabled
This tracks a variable that has been renamed, and was preventing the kernel from compiling when debug printing is enabled. This fixes #19. Signed-off-by: Sean Cross <sean@xobs.io>
This commit is contained in:
parent
ed433c6011
commit
ddd57c30bd
1 changed files with 1 additions and 1 deletions
|
|
@ -360,7 +360,7 @@ impl Server {
|
|||
.queue
|
||||
.get_mut(idx)
|
||||
.ok_or(xous_kernel::Error::BadAddress)?;
|
||||
klog!("memory in queue[{}]: {:?}", idx, val);
|
||||
klog!("memory in queue[{}]: {:?}", idx, current_val);
|
||||
let (pid, tid, server_addr, client_addr, len, forget, is_memory) = match *current_val {
|
||||
QueuedMessage::WaitingReturnMemory(pid, tid, server_addr, client_addr, len) => {
|
||||
(pid, tid, server_addr, client_addr, len, false, true)
|
||||
|
|
|
|||
Loading…
Reference in a new issue