diff options
author | Denis Vlasenko | 2006-10-08 17:54:47 +0000 |
---|---|---|
committer | Denis Vlasenko | 2006-10-08 17:54:47 +0000 |
commit | 7039a66b58706457c7423de60556e04545432943 (patch) | |
tree | a512daebc3674c819766664c8ea17d41ef7fef02 /coreutils/catv.c | |
parent | 1385899416a4396385ad421ae1f532be7103738a (diff) | |
download | busybox-7039a66b58706457c7423de60556e04545432943.zip busybox-7039a66b58706457c7423de60556e04545432943.tar.gz |
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 55656b4..a5a8b43 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; |