diff options
author | Danny Kukawka <danny.kukawka@web.de> | 2011-10-30 13:35:35 +0100 |
---|---|---|
committer | Danny Kukawka <danny.kukawka@web.de> | 2011-10-30 13:35:35 +0100 |
commit | 38cb713132a60758b07380c8d555c61d06eb0195 (patch) | |
tree | efd21ab2399c105fe7e35bd401ff28921010b625 | |
parent | 4f08be0f701da3b941ab9ecf04628317d36b7e8c (diff) |
don't close file descriptor twice
Don't close file descriptor twice. Adopted version of a patch from
Thomas Jarosch <thomas.jarosch@intra2net.com>.
-rw-r--r-- | hald/linux/probing/probe-video4linux.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/hald/linux/probing/probe-video4linux.c b/hald/linux/probing/probe-video4linux.c index b0557206..f934d536 100644 --- a/hald/linux/probing/probe-video4linux.c +++ b/hald/linux/probing/probe-video4linux.c @@ -146,8 +146,6 @@ main (int argc, char *argv[]) libhal_device_commit_changeset (ctx, cset, &error); libhal_device_free_changeset (cset); - close (fd); - ret = 0; out: |