[lxc-devel] [PATCH 2/2] Must unfreeze while stopping container

Daniel Lezcano daniel.lezcano at free.fr
Mon Jul 12 13:27:20 UTC 2010


On 07/10/2010 04:52 AM, Sukadev Bhattiprolu wrote:

[ ... ]
> +	if (!answer.ret) {
> +		ret = lxc_unfreeze(handler->name);
> +		if (!ret)
> +			return 0;
>    

[ ... ]

gcc -DHAVE_CONFIG_H -I. -I../../src -fPIC -DPIC -I../../src -g -O2 -Wall 
-MT liblxc_so-stop.o -MD -MP -MF .deps/liblxc_so-stop.Tpo -c -o 
liblxc_so-stop.o `test -f 'stop.c' || echo './'`stop.c
stop.c: In function ‘lxc_stop_callback’:
stop.c:87: warning: implicit declaration of function ‘lxc_unfreeze’

It looks like #include "lxc.h" is missing.

Please in the future check you are not introducing warnings.

Thanks
-- Daniel




More information about the lxc-devel mailing list