aboutsummaryrefslogtreecommitdiff
path: root/util-linux/script.c
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2008-03-24 02:05:58 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2008-03-24 02:05:58 +0000
commit42cc304e9084843ad6b153afaf4b3f6c6528c364 (patch)
tree51d7cc0dfcd554658d980b9628180e39512f9b1b /util-linux/script.c
parent39c77c37384f87075ad578855f0a11ecbf0681f3 (diff)
downloadbusybox-w32-42cc304e9084843ad6b153afaf4b3f6c6528c364.tar.gz
busybox-w32-42cc304e9084843ad6b153afaf4b3f6c6528c364.tar.bz2
busybox-w32-42cc304e9084843ad6b153afaf4b3f6c6528c364.zip
lpr: add more accurate comments
*: trailing whitespace removal
Diffstat (limited to 'util-linux/script.c')
-rw-r--r--util-linux/script.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util-linux/script.c b/util-linux/script.c
index 1c95ea550..700f0cb0a 100644
--- a/util-linux/script.c
+++ b/util-linux/script.c
@@ -168,7 +168,7 @@ int script_main(int argc ATTRIBUTE_UNUSED, char **argv)
168 /* child: make pty slave to be input, output, error; run shell */ 168 /* child: make pty slave to be input, output, error; run shell */
169 close(pty); /* close pty master */ 169 close(pty); /* close pty master */
170 /* open pty slave to fd 0,1,2 */ 170 /* open pty slave to fd 0,1,2 */
171 close(0); 171 close(0);
172 xopen(pty_line, O_RDWR); /* uses fd 0 */ 172 xopen(pty_line, O_RDWR); /* uses fd 0 */
173 xdup2(0, 1); 173 xdup2(0, 1);
174 xdup2(0, 2); 174 xdup2(0, 2);