aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--toys/posix/od.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/toys/posix/od.c b/toys/posix/od.c
index 6c7cc94d..880432e1 100644
--- a/toys/posix/od.c
+++ b/toys/posix/od.c
@@ -278,7 +278,7 @@ void od_main(void)
if (toys.optflags & FLAG_o) append_base("o2");
if (toys.optflags & FLAG_s) append_base("d2");
if (toys.optflags & FLAG_x) append_base("x2");
- if (!TT.output_base) append_base("o2");
+ if (!TT.types) append_base("o2");
loopfiles(toys.optargs, do_od);