summaryrefslogtreecommitdiffhomepage
path: root/coreutils
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2008-01-07 19:06:47 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2008-01-07 19:06:47 +0000
commit474d1c57c834ee3dee6de49f109c9b570236fa60 (patch)
treecf8d3b4527ac3daee55cdb184d689d1a45cc8636 /coreutils
parent9b4c072a041758cdd8c3516ccc1e45fea0b73f3d (diff)
whitespace fixes
Diffstat (limited to 'coreutils')
-rw-r--r--coreutils/tac.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/coreutils/tac.c b/coreutils/tac.c
index 6aa0528e0..b1b47302f 100644
--- a/coreutils/tac.c
+++ b/coreutils/tac.c
@@ -28,7 +28,7 @@ int tac_main(int argc, char **argv)
char *line;
llist_t *list = NULL;
int retval = EXIT_SUCCESS;
-
+
argv++;
if (!*argv)
*--argv = (char *)"-";
@@ -48,7 +48,7 @@ int tac_main(int argc, char **argv)
errno = 0;
/* FIXME: NUL bytes are mishandled. */
while ((line = xmalloc_fgets(f)) != NULL)
- llist_add_to(&list, line);
+ llist_add_to(&list, line);
/* xmalloc_fgets uses getc and returns NULL on error or EOF. */
/* It sets errno to ENOENT on EOF, but fopen_or_warn_stdin would */
@@ -63,6 +63,6 @@ int tac_main(int argc, char **argv)
printf("%s", list->data);
list = list->link;
}
-
+
return retval;
}