diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2010-03-17 13:52:43 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2010-03-18 08:05:15 +1000 |
commit | a07fe65031ffa7e8d88898d763bdbc88899fb1e4 (patch) | |
tree | 527a60a7e74048a93a70458bb307ba357e5c7d6d /include | |
parent | 0fb151b2388ca665b9454b7b284181b4fa180194 (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