diff options
author | Roger Pau Monne <roger.pau@citrix.com> | 2012-12-04 15:50:18 +0000 |
---|---|---|
committer | Roger Pau Monne <roger.pau@citrix.com> | 2012-12-04 15:50:18 +0000 |
commit | b965f3e27b78500e56c9c872025f1be7b1d767fc (patch) | |
tree | cacc92a012b86a24708c59b5cddfba4462ca5481 /tools/libxl/libxl_internal.h | |
parent | 587ef86c4525a3def6c60dab893d3bee3af4716b (diff) | |
download | xen-b965f3e27b78500e56c9c872025f1be7b1d767fc.tar.gz xen-b965f3e27b78500e56c9c872025f1be7b1d767fc.tar.bz2 xen-b965f3e27b78500e56c9c872025f1be7b1d767fc.zip |
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é <roger.pau@citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
Committed-by: Ian Campbell <ian.campbell@citrix.com>
Diffstat (limited to 'tools/libxl/libxl_internal.h')
-rw-r--r-- | tools/libxl/libxl_internal.h | 2 |
1 files changed, 1 insertions, 1 deletions
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); |