aboutsummaryrefslogtreecommitdiff
path: root/src/uapi
diff options
context:
space:
mode:
Diffstat (limited to 'src/uapi')
-rw-r--r--src/uapi/mem.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/uapi/mem.c b/src/uapi/mem.c
index 561b5eb..7a233a5 100644
--- a/src/uapi/mem.c
+++ b/src/uapi/mem.c
@@ -89,7 +89,7 @@ SYSCALL_DEFINE1(free_mem)(struct tcb *t, sys_arg_t start)
* @param size Minimum size of allocation.
* @param flags Flags of allocation.
* @return \ref OK and start of allocation when succesful,
- * \ref ERR_OOMEM and \c NULL otherwise.
+ * otherwise an error code.
*/
SYSCALL_DEFINE3(req_pmem)(struct tcb *t, sys_arg_t paddr, sys_arg_t size,
sys_arg_t flags)
@@ -149,7 +149,7 @@ SYSCALL_DEFINE2(req_page)(struct tcb *t, sys_arg_t size, sys_arg_t flags)
* @param size Minimum size of allocation.
* @param flags Flags of allocation.
* @return \ref OK, start
- * in that order, \ref ERR_OOMEM otherwise.
+ * in that order, otherwise an error code.
*/
SYSCALL_DEFINE2(req_sharedmem)(struct tcb *t, sys_arg_t size, sys_arg_t flags)
{