tools: hv: remove repeated HV_FCOPY string
authorOlaf Hering <olaf@aepfle.de>
Tue, 15 Dec 2015 00:01:35 +0000 (16:01 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 15 Dec 2015 03:12:21 +0000 (19:12 -0800)
HV_FCOPY is already used as identifier in syslog.

Signed-off-by: Olaf Hering <olaf@aepfle.de>
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
tools/hv/hv_fcopy_daemon.c

index f1d7426..fdc9ca4 100644 (file)
@@ -179,7 +179,7 @@ int main(int argc, char *argv[])
        }
 
        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);
 
@@ -215,7 +215,7 @@ int main(int argc, char *argv[])
                        }
                        kernel_modver = *(__u32 *)buffer;
                        in_handshake = 0;
-                       syslog(LOG_INFO, "HV_FCOPY: kernel module version: %d",
+                       syslog(LOG_INFO, "kernel module version: %d",
                               kernel_modver);
                        continue;
                }