aboutsummaryrefslogtreecommitdiff
path: root/networking/nc.c
diff options
context:
space:
mode:
Diffstat (limited to 'networking/nc.c')
-rw-r--r--networking/nc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/networking/nc.c b/networking/nc.c
index 9a353c94f..3099763b1 100644
--- a/networking/nc.c
+++ b/networking/nc.c
@@ -79,7 +79,7 @@ int nc_main(int argc, char **argv)
79#ifdef GAPING_SECURITY_HOLE 79#ifdef GAPING_SECURITY_HOLE
80 if (pr00gie) { 80 if (pr00gie) {
81 /* won't need stdin */ 81 /* won't need stdin */
82 close (fileno(stdin)); 82 close (STDIN_FILENO);
83 } 83 }
84#endif /* GAPING_SECURITY_HOLE */ 84#endif /* GAPING_SECURITY_HOLE */
85 85