From b932f55fe9b55896a82579006af29c40d7e33d00c42a096db585fc4811315ba8 Mon Sep 17 00:00:00 2001 From: Olaf Hering Date: Tue, 9 Oct 2018 09:28:29 +0000 Subject: [PATCH] - fcopy: set 'error' in case an unknown operation was requested (c2d68afb) OBS-URL: https://build.opensuse.org/package/show/Virtualization/hyper-v?expand=0&rev=137 --- hyper-v.changes | 5 +++++ hyper-v.tools.hv.hv_fcopy_daemon.c | 1 + 2 files changed, 6 insertions(+) diff --git a/hyper-v.changes b/hyper-v.changes index 9bd9a47..962eadd 100644 --- a/hyper-v.changes +++ b/hyper-v.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Oct 9 09:27:45 UTC 2018 - ohering@suse.de + +- fcopy: set 'error' in case an unknown operation was requested (c2d68afb) + ------------------------------------------------------------------- Mon Oct 8 06:48:04 UTC 2018 - ohering@suse.de diff --git a/hyper-v.tools.hv.hv_fcopy_daemon.c b/hyper-v.tools.hv.hv_fcopy_daemon.c index 623a607..454311f 100644 --- a/hyper-v.tools.hv.hv_fcopy_daemon.c +++ b/hyper-v.tools.hv.hv_fcopy_daemon.c @@ -234,6 +234,7 @@ int main(int argc, char *argv[]) break; default: + error = HV_E_FAIL; syslog(LOG_ERR, "Unknown operation: %d", buffer.hdr.operation);