summaryrefslogtreecommitdiff
path: root/src/print_disk_info.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/print_disk_info.c')
-rw-r--r--src/print_disk_info.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/print_disk_info.c b/src/print_disk_info.c
index 4c23c7a..d8cce1c 100644
--- a/src/print_disk_info.c
+++ b/src/print_disk_info.c
@@ -84,12 +84,15 @@ static bool below_threshold(struct statvfs buf, const char *prefix_type, const c
case 'T':
case 't':
factor *= base;
+ /* fall-through */
case 'G':
case 'g':
factor *= base;
+ /* fall-through */
case 'M':
case 'm':
factor *= base;
+ /* fall-through */
case 'K':
case 'k':
factor *= base;