From 747e296ff656813340c9355d98b0a13cba8473bc Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Tue, 4 Dec 2018 21:29:51 -0600 Subject: Add FLAG(x) macro, expanding to (toys.optflags & FLAG_##x) --- toys/posix/uuencode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'toys/posix/uuencode.c') diff --git a/toys/posix/uuencode.c b/toys/posix/uuencode.c index f0e5be12..44e38bcb 100644 --- a/toys/posix/uuencode.c +++ b/toys/posix/uuencode.c @@ -24,7 +24,7 @@ void uuencode_main(void) { char *name = toys.optargs[toys.optc-1], buf[(76/4)*3]; - int i, m = toys.optflags & FLAG_m, fd = 0; + int i, m = FLAG(m), fd = 0; if (toys.optc > 1) fd = xopenro(toys.optargs[0]); -- cgit v1.2.3