lpr: add more accurate comments

*: trailing whitespace removal
This commit is contained in:
Denis Vlasenko
2008-03-24 02:05:58 +00:00
parent 39c77c3738
commit 42cc304e90
10 changed files with 35 additions and 28 deletions

View File

@@ -168,7 +168,7 @@ int script_main(int argc ATTRIBUTE_UNUSED, char **argv)
/* child: make pty slave to be input, output, error; run shell */
close(pty); /* close pty master */
/* open pty slave to fd 0,1,2 */
close(0);
close(0);
xopen(pty_line, O_RDWR); /* uses fd 0 */
xdup2(0, 1);
xdup2(0, 2);

View File

@@ -71,7 +71,7 @@ static void
uuidcache_addentry(char *device, /*int major, int minor,*/ char *label, char *uuid)
{
struct uuidCache_s *last;
if (!uuidCache) {
last = uuidCache = xzalloc(sizeof(*uuidCache));
} else {