]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
get_mapped_rootid: fix description
authorSerge Hallyn <serge.hallyn@ubuntu.com>
Thu, 23 Jan 2014 20:51:36 +0000 (14:51 -0600)
committerSerge Hallyn <serge.hallyn@ubuntu.com>
Thu, 23 Jan 2014 20:51:42 +0000 (14:51 -0600)
Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
src/lxc/conf.c

index 46d3e1945e78ca6a4f52171e17ee519fbe0abc77..d2942cb06c12d7fd6107c76cab2b2908f6b8a2a2 100644 (file)
@@ -3131,8 +3131,8 @@ int lxc_map_ids(struct lxc_list *idmap, pid_t pid)
 }
 
 /*
- * return the host uid to which the container root is mapped, or -1 on
- * error
+ * return the host uid to which the container root is mapped in *val.
+ * Return true if id was found, false otherwise.
  */
 bool get_mapped_rootid(struct lxc_conf *conf, enum idtype idtype,
                         unsigned long *val)