aboutsummaryrefslogtreecommitdiff
path: root/toys
diff options
context:
space:
mode:
Diffstat (limited to 'toys')
-rw-r--r--toys/other/blockdev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/toys/other/blockdev.c b/toys/other/blockdev.c
index e5fd0c3c..c2e10a22 100644
--- a/toys/other/blockdev.c
+++ b/toys/other/blockdev.c
@@ -65,7 +65,7 @@ void blockdev_main(void)
xioctl(fd, cmds[i], &val);
flag &= FLAG_setbsz|FLAG_setro|FLAG_flushbufs|FLAG_rereadpt|FLAG_setrw|FLAG_setbsz;
- if (!flag) printf("%lld\n", (toys.optflags & (FLAG_getsz|FLAG_getra)) ? val >> 9: val);
+ if (!flag) printf("%lld\n", (toys.optflags & FLAG_getsz) ? val >> 9: val);
}
xclose(fd);
}