diff -Naur a/toys/pending/getty.c b/toys/pending/getty.c
--- a/toys/pending/getty.c	2014-10-02 18:23:27.000000000 +0530
+++ b/toys/pending/getty.c	2014-10-06 17:39:31.099707436 +0530
@@ -236,6 +236,7 @@
       if (*ch == 'l') fputs(TT.tty_name, stdout);
     } else xputc(*ch);
   }
+  close(fd);
 }
 
 // Read login name and print prompt and Issue file. 
