diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2010-02-14 13:07:54 -0500 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2010-02-14 13:07:54 -0500 |
commit | cfdc13f37f3fa3c7d8c11848f58cfc18a98e37a4 (patch) | |
tree | 9d3ac5adba05c12b6ad3af1d9e2e6fbf57fe6ded /src/block.c | |
parent | 8bbc79c435c896ad0107725fa77c7aeb860af625 (diff) | |
download | seabios-cfdc13f37f3fa3c7d8c11848f58cfc18a98e37a4.tar.gz |
Introduce standard warnings for allocation failures and timeouts.
There is no need for custom warnings for many common failures.
Introduce a common warning which is consistent and more visible.
Diffstat (limited to 'src/block.c')
-rw-r--r-- | src/block.c | 2 |
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]; |