[CRIU] [PATCH] chdir: need to check return value

Pavel Emelyanov xemul at parallels.com
Tue Feb 4 02:06:06 PST 2014


On 02/04/2014 01:40 PM, Tikhomirov Pavel wrote:
> otherwise it won't compile:
> 
> util.c: In function ‘cr_daemon’:
> util.c:594:8: error: ignoring return value of ‘chdir’, declared
> with attribute warn_unused_result [-Werror=unused-result]
>    chdir("/");
>         ^
> 
> Signed-off-by: Tikhomirov Pavel <snorcht at gmail.com>

applied


More information about the CRIU mailing list