os: log: replace VErrorFSigSafe() by VErrorF()

Since VErrorF() is now signal safe, we can use this one instead.
Leaving VErrorFSigSafe() macro for backwards compat with drivers.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1691>
This commit is contained in:
Enrico Weigelt, metux IT consult
2024-09-12 17:39:33 +02:00
committed by Marge Bot
parent 2d18c353b4
commit da22bc9ae0
3 changed files with 3 additions and 11 deletions

View File

@@ -894,7 +894,7 @@ FatalError(const char *f, ...)
va_end(apple_args);
}
#endif
VErrorFSigSafe(f, args);
VErrorF(f, args);
va_end(args);
ErrorF("\n");
if (!beenhere)
@@ -927,12 +927,6 @@ ErrorF(const char *f, ...)
va_end(args);
}
void
VErrorFSigSafe(const char *f, va_list args)
{
LogVMessageVerb(X_ERROR, -1, f, args);
}
void
LogPrintMarkers(void)
{