]> git.mxchange.org Git - flightgear.git/commitdiff
forgot one small fix
authorehofman <ehofman>
Tue, 31 Mar 2009 08:09:11 +0000 (08:09 +0000)
committerTim Moore <timoore@redhat.com>
Wed, 15 Apr 2009 21:19:29 +0000 (23:19 +0200)
utils/xmlgrep/xml.c

index 3d8ff17fc22a19148f45b751b30d31f2847bbdb3..e24899e8e6a48cad754b7826e8ce865d70267b82 100644 (file)
@@ -131,7 +131,7 @@ xmlClose(void *id)
         assert(xid->name == 0);
 
         munmap(xid->start, xid->len);
-        close((int)xid->node.len);
+        close(xid->node.fd);
         free(id);
         id = 0;
     }