summaryrefslogtreecommitdiff
path: root/hw/kdrive/linux/ts.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/kdrive/linux/ts.c')
-rw-r--r--hw/kdrive/linux/ts.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/hw/kdrive/linux/ts.c b/hw/kdrive/linux/ts.c
index 07a676982..c6fad1bd1 100644
--- a/hw/kdrive/linux/ts.c
+++ b/hw/kdrive/linux/ts.c
@@ -1,5 +1,5 @@
/*
- * $XFree86: xc/programs/Xserver/hw/kdrive/linux/ts.c,v 1.7 2002/08/02 16:11:35 keithp Exp $
+ * $XFree86: xc/programs/Xserver/hw/kdrive/linux/ts.c,v 1.8 2002/08/02 16:30:50 keithp Exp $
*
* Derived from ps2.c by Jim Gettys
*
@@ -183,6 +183,8 @@ TsInit (void)
if (KdRegisterFd (TsInputType, fd, TsRead, (void *) mi))
n++;
}
+ else
+ close (fd);
}
}
}