(!1683) os: replace LogVWrite() by LogVMessageVerb()

It's just a wrapper around LogVMessageVerb() and no external module
using it, so can easily be optimized-away.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
Enrico Weigelt, metux IT consult
2024-09-09 16:14:33 +02:00
parent f59440d82f
commit 754dbbb73a
4 changed files with 4 additions and 13 deletions

View File

@@ -654,12 +654,6 @@ LogSWrite(int verb, const char *buf, size_t len, Bool end_line)
(void) ret;
}
void
LogVWrite(int verb, const char *f, va_list args)
{
return LogVMessageVerb(X_NONE, verb, f, args);
}
/* Returns the Message Type string to prepend to a logging message, or NULL
* if the message will be dropped due to insufficient verbosity. */
static const char *
@@ -1028,7 +1022,7 @@ VErrorF(const char *f, va_list args)
if (OsVendorVErrorFProc)
OsVendorVErrorFProc(f, args);
else
LogVWrite(-1, f, args);
LogVMessageVerb(X_NONE, -1, f, args);
}
void