From: Roger Pau Monne Date: Tue, 4 Dec 2012 15:50:18 +0000 (+0000) Subject: libxl: fix wrong comment X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=b965f3e27b78500e56c9c872025f1be7b1d767fc;p=people%2Faperard%2Fxen-arm.git libxl: fix wrong comment The comment in function libxl__try_phy_backend is wrong, 1 is returned if the backend should be handled as "phy", while 0 is returned if not. Signed-off-by: Roger Pau Monné Acked-by: Ian Campbell Committed-by: Ian Campbell --- diff --git a/tools/libxl/libxl_internal.h b/tools/libxl/libxl_internal.h index cba3616f75..0b38e3e8bc 100644 --- a/tools/libxl/libxl_internal.h +++ b/tools/libxl/libxl_internal.h @@ -1041,7 +1041,7 @@ static inline void libxl__domaindeathcheck_stop(libxl__gc *gc, * type of file using the PHY backend * st_mode: mode_t of the file, as returned by stat function * - * Returns 0 on success, and < 0 on error. + * Returns 1 on success, and 0 if not suitable for phy backend. */ _hidden int libxl__try_phy_backend(mode_t st_mode);