#include "sysproc.h"
#include "sysfile.h" /* Always include after sysproc.h */
#include "syssignal.h" /* Always include before systty.h */
-#include "ui/systty.h"
+#include "ui/TTY/systty.h"
minfd);
_exit(1);
}
- if (fd >= min)
+ if (fd >= minfd)
return fd;
newfd = dup(fd);
strerror(errno));
_exit(1);
}
- if (newfd >= min )
+ if (newfd >= minfd )
return newfd;
else {
- int recurse_fd = relocate_fd(newfd, min);
+ int recurse_fd = relocate_fd(newfd, minfd);
/* Close all the previously recursivelly dup'ed
file descriptors
*/