From: Davidlohr Bueso <dave@xxxxxxx> The add_prlim() function's definition currently returns a bogus structure. Signed-off-by: Davidlohr Bueso <dave@xxxxxxx> --- sys-utils/prlimit.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/sys-utils/prlimit.c b/sys-utils/prlimit.c index ae5453b..c785909 100644 --- a/sys-utils/prlimit.c +++ b/sys-utils/prlimit.c @@ -450,7 +450,7 @@ static int parse_prlim(struct rlimit *lim, char *ops, size_t id) return found; } -static struct prlimit *add_prlim(char *ops, struct list_head *lims, size_t id) +static int add_prlim(char *ops, struct list_head *lims, size_t id) { struct prlimit *lim = calloc(1, sizeof(*lim)); -- 1.7.4.1 -- To unsubscribe from this list: send the line "unsubscribe util-linux" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html