]> git.ipfire.org Git - thirdparty/open-vm-tools.git/commitdiff
Fix compiler warning.
authorVMware, Inc <>
Mon, 20 Sep 2010 18:19:22 +0000 (11:19 -0700)
committerMarcelo Vanzin <mvanzin@vmware.com>
Mon, 20 Sep 2010 18:19:22 +0000 (11:19 -0700)
Some versions of gcc complain about this code.

Signed-off-by: Marcelo Vanzin <mvanzin@vmware.com>
open-vm-tools/services/vmtoolsd/cmdLine.c

index ee24e3aab3f8f1161b16708c2103450a563f72d3..09fc4f0c6b06b214e14acbd93d262982bfd548a9 100644 (file)
@@ -79,7 +79,8 @@ ToolsCoreRunCommand(const gchar *option,
       vm_free(result);
       exit(status ? 0 : 1);
    }
-   g_printerr(SU_(cmdline.rpcerror, "Unable to send command to VMware hypervisor.\n"));
+   g_printerr("%s\n",
+              SU_(cmdline.rpcerror, "Unable to send command to VMware hypervisor."));
    exit(1);
 }