Wei Liu writes ("[PATCH v4 2/3] libxl: localtime(3) can return NULL"):
> Signed-off-by: Wei Liu <wei.l...@citrix.com>

>          tm = localtime(&t);
> +        if (!tm) {
> +            LOG(ERROR, "Failed to call localtime");

localtime sets errno if it fails.  So you mean LOGE.

Ian.

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

Reply via email to