diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2006-10-08 21:54:47 +0400 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2006-10-08 21:54:47 +0400 |
commit | 7039a66b58706457c7423de60556e04545432943 (patch) | |
tree | a512daebc3674c819766664c8ea17d41ef7fef02 /coreutils/catv.c | |
parent | 1385899416a4396385ad421ae1f532be7103738a (diff) |
correct largefile support, add comments about it.
Diffstat (limited to 'coreutils/catv.c')
-rw-r--r-- | coreutils/catv.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/coreutils/catv.c b/coreutils/catv.c index 55656b4b2..a5a8b43e4 100644 --- a/coreutils/catv.c +++ b/coreutils/catv.c @@ -15,7 +15,7 @@ int catv_main(int argc, char **argv) { int retval = EXIT_SUCCESS, fd; - unsigned long flags; + unsigned flags; flags = getopt32(argc, argv, "etv"); #define CATV_OPT_e (1<<0) @@ -51,8 +51,8 @@ int catv_main(int argc, char **argv) } if (c < 32) { if (c == 10) { - if (flags & CATV_OPT_e) - putchar('$'); + if (flags & CATV_OPT_e) + putchar('$'); } else if (flags & (c==9 ? CATV_OPT_t : CATV_OPT_v)) { bb_printf("^%c", c+'@'); continue; |