From aa30b94750372e358dac1e6b08a6eb71bac58422 Mon Sep 17 00:00:00 2001 From: ehofman Date: Tue, 31 Mar 2009 08:09:11 +0000 Subject: [PATCH] forgot one small fix --- utils/xmlgrep/xml.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/xmlgrep/xml.c b/utils/xmlgrep/xml.c index 3d8ff17fc..e24899e8e 100644 --- a/utils/xmlgrep/xml.c +++ b/utils/xmlgrep/xml.c @@ -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; }