DiskProbe: Added 4096 byte block size

* It's a quite common block size on disks nowadays.

Change-Id: I68e1abb050e7bd0bb190cdd7e4d4f2c78e8db7ff
Reviewed-on: https://review.haiku-os.org/c/haiku/+/5741
Tested-by: Commit checker robot <[email protected]>
Reviewed-by: waddlesplash <[email protected]>
This commit is contained in:
Axel Dörfler
2022-10-12 20:34:48 +00:00
committed by waddlesplash
parent caafd8470b
commit 2c563c4c9b
+1 -1
View File
@@ -1412,7 +1412,7 @@ ProbeView::AttachedToWindow()
subMenu = new BMenu(B_TRANSLATE_COMMENT("Block size", "Menu item. "
"This is in the same menu window than 'Base' and 'Font size'"));
subMenu->SetRadioMode(true);
const uint32 blockSizes[] = {512, 1024, 2048};
const uint32 blockSizes[] = {512, 1024, 2048, 4096};
for (uint32 i = 0; i < sizeof(blockSizes) / sizeof(blockSizes[0]); i++) {
char buffer[32];
snprintf(buffer, sizeof(buffer), "%" B_PRId32 "%s", blockSizes[i],