mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-24 05:54:08 +00:00
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:
committed by
Marge Bot
parent
2d18c353b4
commit
da22bc9ae0
8
os/log.c
8
os/log.c
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user