ENOSYS should only be used by unimplemented top-level syscalls. Use EOPNOTSUPP instead.
Signed-off-by: Roger Pau Monné <roger....@citrix.com> Reported-by: Jan Beulich <jbeul...@suse.com> --- Cc: Andrew Cooper <andrew.coop...@citrix.com> Cc: George Dunlap <george.dun...@eu.citrix.com> Cc: Ian Jackson <ian.jack...@eu.citrix.com> Cc: Jan Beulich <jbeul...@suse.com> Cc: Konrad Rzeszutek Wilk <konrad.w...@oracle.com> Cc: Stefano Stabellini <sstabell...@kernel.org> Cc: Tim Deegan <t...@xen.org> Cc: Wei Liu <wei.l...@citrix.com> Cc: Julien Grall <julien.gr...@linaro.org> --- xen/common/gcov/gcov.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xen/common/gcov/gcov.c b/xen/common/gcov/gcov.c index 35653fd8d8..283d2eec86 100644 --- a/xen/common/gcov/gcov.c +++ b/xen/common/gcov/gcov.c @@ -239,7 +239,7 @@ int sysctl_gcov_op(struct xen_sysctl_gcov_op *op) break; default: - ret = -ENOSYS; + ret = -EOPNOTSUPP; break; } -- 2.13.6 (Apple Git-96) _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org https://lists.xen.org/xen-devel