diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2008-03-24 02:05:58 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2008-03-24 02:05:58 +0000 |
commit | 42cc304e9084843ad6b153afaf4b3f6c6528c364 (patch) | |
tree | 51d7cc0dfcd554658d980b9628180e39512f9b1b /util-linux | |
parent | 39c77c37384f87075ad578855f0a11ecbf0681f3 (diff) | |
download | busybox-42cc304e9084843ad6b153afaf4b3f6c6528c364.tar.gz |
lpr: add more accurate comments
*: trailing whitespace removal
Diffstat (limited to 'util-linux')
-rw-r--r-- | util-linux/script.c | 2 | ||||
-rw-r--r-- | util-linux/volume_id/get_devname.c | 2 |
2 files changed, 2 insertions, 2 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) /* 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); diff --git a/util-linux/volume_id/get_devname.c b/util-linux/volume_id/get_devname.c index b46aad4a2..d1968b744 100644 --- a/util-linux/volume_id/get_devname.c +++ b/util-linux/volume_id/get_devname.c @@ -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 { |