xfree86: Simplify xf86Msg{,Verb}

Previously, the functions would call xf86VDrvMsgVerb with a screen of -1
 despite their comments saying they were for "non-driver messages".
They now call LogVMessageVerb, which is what xf86VDrvMsgVerb does anyway
 when it has a screen == -1.

Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Mark Kettenis <kettenis@openbsd.org>
Signed-off-by: Jesse Adkins <jesserayadkins@gmail.com>
Signed-off-by: Matt Turner <mattst88@gmail.com>
This commit is contained in:
Jesse Adkins 2010-08-04 09:21:30 +00:00 committed by Matt Turner
parent f49473abfd
commit 4f04fd595e

View File

@ -1267,7 +1267,7 @@ xf86MsgVerb(MessageType type, int verb, const char *format, ...)
va_list ap;
va_start(ap, format);
xf86VDrvMsgVerb(-1, type, verb, format, ap);
LogVMessageVerb(type, verb, format, ap);
va_end(ap);
}
@ -1278,7 +1278,7 @@ xf86Msg(MessageType type, const char *format, ...)
va_list ap;
va_start(ap, format);
xf86VDrvMsgVerb(-1, type, 1, format, ap);
LogVMessageVerb(type, 1, format, ap);
va_end(ap);
}