Skip to content

Commit 9bb18ff

Browse files
committed
improve libts version information output
Signed-off-by: Martin Kepplinger <martin.kepplinger@ginzinger.com>
1 parent e59e545 commit 9bb18ff

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/tslib.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -442,7 +442,8 @@ static int xf86TslibInit(__attribute__ ((unused)) InputDriverPtr drv,
442442
return BadValue;
443443
}
444444

445-
xf86IDrvMsg(pInfo, X_INFO, "using libts version %X\n", ver->version_num);
445+
xf86IDrvMsg(pInfo, X_INFO, "using libts ABI version %d (%06X)\n",
446+
ver->version_num >> 16, ver->version_num);
446447
#else
447448
priv->ts = ts_open(s, 1);
448449
if (!priv->ts) {

0 commit comments

Comments
 (0)