From: Serge Hallyn Date: Thu, 23 Jan 2014 20:51:36 +0000 (-0600) Subject: get_mapped_rootid: fix description X-Git-Tag: lxc-1.0.0.beta3~35 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0b3a6504e51795e738de8e017c22d209a93bc169;p=thirdparty%2Flxc.git get_mapped_rootid: fix description Signed-off-by: Serge Hallyn --- diff --git a/src/lxc/conf.c b/src/lxc/conf.c index 46d3e1945..d2942cb06 100644 --- a/src/lxc/conf.c +++ b/src/lxc/conf.c @@ -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)