]> xenbits.xensource.com Git - people/aperard/xen-arm.git/commitdiff
libxl: fix wrong comment
authorRoger Pau Monne <roger.pau@citrix.com>
Tue, 4 Dec 2012 15:50:18 +0000 (15:50 +0000)
committerRoger Pau Monne <roger.pau@citrix.com>
Tue, 4 Dec 2012 15:50:18 +0000 (15:50 +0000)
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é <roger.pau@citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
Committed-by: Ian Campbell <ian.campbell@citrix.com>
tools/libxl/libxl_internal.h

index cba3616f7503a535f062419fb9c594157f3715da..0b38e3e8bc9d3e6c5ee0dbcde02c928b6184f373 100644 (file)
@@ -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);