aboutsummaryrefslogtreecommitdiffstats
path: root/src/block.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/block.c')
-rw-r--r--src/block.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/block.c b/src/block.c
index 01aa84a3..3a9a68d2 100644
--- a/src/block.c
+++ b/src/block.c
@@ -224,7 +224,7 @@ static void
add_ordered_drive(u8 *idmap, u8 *count, struct drive_s *drive_g)
{
if (*count >= ARRAY_SIZE(Drives.idmap[0])) {
- dprintf(1, "No room to map drive %p\n", drive_g);
+ warn_noalloc();
return;
}
u8 *pos = &idmap[*count];