mirror of
https://github.com/X11Libre/xserver.git
synced 2026-01-26 14:03:17 +00:00
xfree86: os-support: bsd: tiny logging simplification on PCVT
There isn't much practical value of printing kernel PCVT driver version into our log on NetBSD. Let's simplify this a bit and get cut down the #ifdef wood a little bit. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
parent
69da481f66
commit
b5f2c96901
@ -485,23 +485,11 @@ xf86OpenPcvt(void)
|
||||
}
|
||||
xf86Info.consType = PCVT;
|
||||
#ifdef WSCONS_SUPPORT
|
||||
#ifdef __NetBSD__
|
||||
LogMessageVerb(X_PROBED, 1,
|
||||
"Using wscons driver on %s in pcvt compatibility mode "
|
||||
"(version %d.%d)\n", vtname,
|
||||
pcvt_version.rmajor, pcvt_version.rminor);
|
||||
#else
|
||||
LogMessageVerb(X_PROBED, 1,
|
||||
"Using wscons driver on %s in pcvt compatibility mode ",
|
||||
vtname);
|
||||
#endif
|
||||
#else
|
||||
# ifdef __NetBSD__
|
||||
LogMessageVerb(X_PROBED, 1, "Using pcvt driver (version %d.%d)\n",
|
||||
pcvt_version.rmajor, pcvt_version.rminor);
|
||||
# else
|
||||
LogMessageVerb(X_PROBED, 1, "Using pcvt driver\n");
|
||||
# endif
|
||||
#endif
|
||||
#ifdef __NetBSD__
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user