From 2c563c4c9b86cb64e3381142ee1fab0dd4e8db2e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Wed, 12 Oct 2022 20:33:36 +0200 Subject: [PATCH] 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 Reviewed-by: waddlesplash --- src/apps/diskprobe/ProbeView.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/apps/diskprobe/ProbeView.cpp b/src/apps/diskprobe/ProbeView.cpp index d3bd8a7dc6..8079c0abf4 100644 --- a/src/apps/diskprobe/ProbeView.cpp +++ b/src/apps/diskprobe/ProbeView.cpp @@ -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],