From 01d104ff3b103acd25630613badfb10038ef9f28 Mon Sep 17 00:00:00 2001 From: Jacek Jendrzej Date: Thu, 21 Jul 2011 12:49:02 +0000 Subject: [PATCH] drivertool: -fix close fd git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@1586 e54a6e83-5905-42d5-8d5c-058d10e6a962 Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/4eec05e0e959050c55378d9175c8d95d5f0322d4 Author: Jacek Jendrzej Date: 2011-07-21 (Thu, 21 Jul 2011) ------------------ This commit was generated by Migit --- src/drivertool.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/drivertool.c b/src/drivertool.c index 5eceda5fc..62f9ad991 100644 --- a/src/drivertool.c +++ b/src/drivertool.c @@ -273,6 +273,6 @@ int main(int argc, char **argv) perror("ioctl"); ret = errno; } - + close(fd); return ret; }