mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-24 08:04:30 +00:00
xfree86: compat: make xf86MsgVerb() a bit less noisier
print the driver bug warning only once. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
committed by
Enrico Weigelt
parent
7ca8b37ab1
commit
2069db50e7
@@ -39,7 +39,12 @@ _X_EXPORT void xf86MsgVerb(MessageType type, int verb, const char *format, ...)
|
||||
void
|
||||
xf86MsgVerb(MessageType type, int verb, const char *format, ...)
|
||||
{
|
||||
xf86NVidiaBugInternalFunc("xf86MsgVerb()");
|
||||
static char reportxf86MsgVerb = 1;
|
||||
|
||||
if (reportxf86MsgVerb) {
|
||||
xf86NVidiaBugInternalFunc("xf86MsgVerb()");
|
||||
reportxf86MsgVerb = 0;
|
||||
}
|
||||
|
||||
va_list ap;
|
||||
va_start(ap, format);
|
||||
|
||||
Reference in New Issue
Block a user