gcov: return EOPNOTSUPP for unimplemented gcov sysctl
authorRoger Pau Monné <roger.pau@citrix.com>
Wed, 8 Nov 2017 12:41:51 +0000 (13:41 +0100)
committerJan Beulich <jbeulich@suse.com>
Wed, 8 Nov 2017 12:41:51 +0000 (13:41 +0100)
commit9862926902ba035a3741afdf03da40a4d4b57a6f
tree73bed0b51839803b54406f4411247d61568c7132
parentdc7245395a63d558555a0ff744571f4715c84754
gcov: return EOPNOTSUPP for unimplemented gcov sysctl

ENOSYS should only be used by unimplemented top-level syscalls. Use
EOPNOTSUPP instead.

Suggested-by: Jan Beulich <jbeulich@suse.com>
Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
Release-acked-by: Julien Grall <julien.grall@linaro.org>
xen/common/gcov/gcov.c