about summary refs log tree commit diff
path: root/clients/tui/newt/nmt-newt-utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'clients/tui/newt/nmt-newt-utils.c')
-rw-r--r--clients/tui/newt/nmt-newt-utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/clients/tui/newt/nmt-newt-utils.c b/clients/tui/newt/nmt-newt-utils.c
index a8541829..f37a851e 100644
--- a/clients/tui/newt/nmt-newt-utils.c
+++ b/clients/tui/newt/nmt-newt-utils.c
@@ -336,7 +336,7 @@ nmt_newt_edit_string (const char *data)
 		len -= nwrote;
 		data += nwrote;
 	}
-	close (fd);
+	nm_close (fd);
 
 	argv[0] = (char *) g_getenv ("VISUAL");
 	if (!argv[0])