summaryrefslogtreecommitdiffstats
path: root/firmware/common/disk.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/common/disk.c')
-rw-r--r--firmware/common/disk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/common/disk.c b/firmware/common/disk.c
index abeadb5c23..c4553099ec 100644
--- a/firmware/common/disk.c
+++ b/firmware/common/disk.c
@@ -68,7 +68,7 @@ int disk_sector_multiplier = 1;
struct partinfo* disk_init(IF_MD_NONVOID(int drive))
{
int i;
- unsigned char sector[512];
+ unsigned char sector[SECTOR_SIZE];
#ifdef HAVE_MULTIDRIVE
/* For each drive, start at a different position, in order not to destroy
the first entry of drive 0.