summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2010-03-17 13:52:43 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2010-03-18 08:05:15 +1000
commita07fe65031ffa7e8d88898d763bdbc88899fb1e4 (patch)
tree527a60a7e74048a93a70458bb307ba357e5c7d6d /include
parent0fb151b2388ca665b9454b7b284181b4fa180194 (diff)
After closing the fd, reset it to -1.
A DeviceOff() followed by DeviceClose() (which calls DeviceOff()) would try to close the fd twice, in addition to calling various hooks. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Julien Cristau <jcristau@debian.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions