diff options
author | Sadaf Ebrahimi <sadafebrahimi@google.com> | 2024-05-09 17:06:47 +0000 |
---|---|---|
committer | Sadaf Ebrahimi <sadafebrahimi@google.com> | 2024-05-09 17:06:53 +0000 |
commit | 601ee22c05b5ccc15fda900d60a036a04d781c47 (patch) | |
tree | 2379b2569bd512fe44f03eea5946e2501b8d2d0f /toys/posix/cat.c | |
parent | c321443c7c049a7975fed7c88c84c8a046bc9ef5 (diff) | |
parent | 6800a95ef32826e753881802a2c126c59d451397 (diff) | |
download | toybox-601ee22c05b5ccc15fda900d60a036a04d781c47.tar.gz |
Upgrade toybox to 6800a95ef32826e753881802a2c126c59d451397
This project was upgraded with external_updater.
Usage: tools/external_updater/updater.sh update external/toybox
For more info, check https://cs.android.com/android/platform/superproject/+/main:tools/external_updater/README.md
Test: TreeHugger
Change-Id: I58117099abc100bd070cf3641e788b6a996a77ca
Diffstat (limited to 'toys/posix/cat.c')
-rw-r--r-- | toys/posix/cat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/toys/posix/cat.c b/toys/posix/cat.c index 1eb15d49..1226651f 100644 --- a/toys/posix/cat.c +++ b/toys/posix/cat.c @@ -51,7 +51,7 @@ static void do_cat(int fd, char *name) if (c<32) { if (c == 10) { if (FLAG(e)) xputc('$'); - } else if (toys.optflags & (c==9 ? FLAG_t : FLAG_v)) { + } else if (c==9 ? FLAG(t) : FLAG(v)) { printf("^%c", c+'@'); continue; } |