From: Oliver Kurth Date: Tue, 12 Nov 2019 02:12:23 +0000 (-0800) Subject: More LOG() calls changed to variadic form. X-Git-Tag: stable-11.1.0~146 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5f5f6b66767e24c88040e9a5e8d0fa70c29da0cd;p=thirdparty%2Fopen-vm-tools.git More LOG() calls changed to variadic form. --- diff --git a/open-vm-tools/lib/misc/hostinfo.c b/open-vm-tools/lib/misc/hostinfo.c index 352ee74aa..e34d210e6 100644 --- a/open-vm-tools/lib/misc/hostinfo.c +++ b/open-vm-tools/lib/misc/hostinfo.c @@ -38,6 +38,7 @@ #include "backdoor_def.h" #define LOGLEVEL_MODULE hostinfo +#define LOGLEVEL_VARIADIC #include "loglevel_user.h" #define LGPFX "HOSTINFO:" diff --git a/open-vm-tools/lib/misc/hostinfoHV.c b/open-vm-tools/lib/misc/hostinfoHV.c index 20e6d2d4b..e58eaf22a 100644 --- a/open-vm-tools/lib/misc/hostinfoHV.c +++ b/open-vm-tools/lib/misc/hostinfoHV.c @@ -33,7 +33,9 @@ #include "util.h" #define LGPFX "HOSTINFO:" + #define LOGLEVEL_MODULE hostinfo +#define LOGLEVEL_VARIADIC #include "loglevel_user.h" diff --git a/open-vm-tools/lib/misc/machineID.c b/open-vm-tools/lib/misc/machineID.c index 92efa03e9..9e05ba4ad 100644 --- a/open-vm-tools/lib/misc/machineID.c +++ b/open-vm-tools/lib/misc/machineID.c @@ -1,5 +1,5 @@ /********************************************************* - * Copyright (C) 2007-2017,2019 VMware, Inc. All rights reserved. + * Copyright (C) 2007-2019 VMware, Inc. All rights reserved. * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU Lesser General Public License as published @@ -46,6 +46,7 @@ #include "vm_atomic.h" #define LOGLEVEL_MODULE main +#define LOGLEVEL_VARIADIC #include "loglevel_user.h" #if defined(_WIN32) // Windows