obvious thinko in kdrive.

Dave Jones davej at redhat.com
Wed Aug 15 22:49:03 PDT 2007


Just in case anyone still cares about kdrive, here's a patch
for an obvious thinko.

	Dave

diff --git a/hw/kdrive/linux/tslib.c b/hw/kdrive/linux/tslib.c
index 41b74fa..81f753e 100644
--- a/hw/kdrive/linux/tslib.c
+++ b/hw/kdrive/linux/tslib.c
@@ -118,7 +118,7 @@ TslibEnable (KdPointerInfo *pi)
     private->fd = ts_fd(private->tsDev);
     if (!private->tsDev || ts_config(private->tsDev) || private->fd < 0) {
         ErrorF("[tslib/TslibEnable] failed to open %s\n", pi->path);
-        if (private->fd > 0);
+        if (private->fd > 0)
             close(private->fd);
         return BadAlloc;
     }

-- 
http://www.codemonkey.org.uk



More information about the xorg mailing list