commit | ea4acf08bc71872215be84deabfb42b9133660ab | [log] [tgz] |
---|---|---|
author | Peter Hurley <phurley@charter.net> | Wed Oct 27 09:28:24 2010 -0400 |
committer | Stefan Richter <stefanr@s5r6.in-berlin.de> | Sun Feb 05 10:32:44 2012 +0100 |
tree | d564bacaeb5465955409b3b21bb364d08cc19ba2 | |
parent | 8e433bf58413725365654c27fb4fad0aad88b516 [diff] |
Reset device fd upon error condition in handle_inotify() If an error is encountered while adding a new device in inotify handling, make sure the fd is marked invalid (-1). Signed-off-by: Peter Hurley <phurley@charter.net> Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>