From: Dhaval Giani Date: Thu, 6 Aug 2009 06:29:35 +0000 (+0530) Subject: libcgroup: Fix compile error X-Git-Tag: v0.35~43 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4d88dd5f659a834704b4125de6949922d41ca7bb;p=thirdparty%2Flibcgroup.git libcgroup: Fix compile error The correct error code is ECGOTHER and not CGOTHER Signed-off-by: Dhaval Giani --- diff --git a/src/api.c b/src/api.c index e2399ab8..48476788 100644 --- a/src/api.c +++ b/src/api.c @@ -1515,7 +1515,7 @@ static int cg_move_task_files(FILE *input_tasks, FILE *output_tasks) if (ret < 0) { last_errno = errno; - return CGOTHER; + return ECGOTHER; } return 0; }