mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-15 08:30:02 +00:00
kernel: services: return ServerNotFound when server isn't found
This is more intuitive than `OutOfMemory`. Signed-off-by: Sean Cross <sean@xobs.io>
This commit is contained in:
parent
2244a78f16
commit
d76832dada
1 changed files with 1 additions and 1 deletions
|
|
@ -1397,7 +1397,7 @@ impl SystemServices {
|
|||
}
|
||||
}
|
||||
}
|
||||
Err(xous_kernel::Error::OutOfMemory)
|
||||
Err(xous_kernel::Error::ServerNotFound) // May also be OutOfMemory if the table is full
|
||||
})
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue