Commit 6dfb867c authored by Olaf Hering's avatar Olaf Hering Committed by Greg Kroah-Hartman

tools: hv: remove repeated HV_FCOPY string

HV_FCOPY is already used as identifier in syslog.
Signed-off-by: default avatarOlaf Hering <olaf@aepfle.de>
Signed-off-by: default avatarK. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent b4ed5d16
...@@ -179,7 +179,7 @@ int main(int argc, char *argv[]) ...@@ -179,7 +179,7 @@ int main(int argc, char *argv[])
} }
openlog("HV_FCOPY", 0, LOG_USER); openlog("HV_FCOPY", 0, LOG_USER);
syslog(LOG_INFO, "HV_FCOPY starting; pid is:%d", getpid()); syslog(LOG_INFO, "starting; pid is:%d", getpid());
fcopy_fd = open("/dev/vmbus/hv_fcopy", O_RDWR); fcopy_fd = open("/dev/vmbus/hv_fcopy", O_RDWR);
...@@ -215,7 +215,7 @@ int main(int argc, char *argv[]) ...@@ -215,7 +215,7 @@ int main(int argc, char *argv[])
} }
kernel_modver = *(__u32 *)buffer; kernel_modver = *(__u32 *)buffer;
in_handshake = 0; in_handshake = 0;
syslog(LOG_INFO, "HV_FCOPY: kernel module version: %d", syslog(LOG_INFO, "kernel module version: %d",
kernel_modver); kernel_modver);
continue; continue;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment