about summary refs log tree commit diff
path: root/mscan.c
diff options
context:
space:
mode:
Diffstat (limited to 'mscan.c')
-rw-r--r--mscan.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/mscan.c b/mscan.c
index 1148a31..6424f8e 100644
--- a/mscan.c
+++ b/mscan.c
@@ -367,9 +367,13 @@ oneline(char *file)
 		case 'b':
 			{
 				struct stat st;
-				if (stat(file, &st) != 0)
-					st.st_size = 0;
-				print_human(st.st_size);
+				if (msg) {
+					if (stat(file, &st) != 0)
+						st.st_size = 0;
+					print_human(st.st_size);
+				} else {
+					printf("    ");
+				}
 				wleft -= 5;
 			}
 			break;