mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-21 06:49:35 +00:00
* grub-core/lib/posix_wrap/assert.h (assert_real): Replace grub_fatal
with grub_printf to avoid unnecessary fatal failure.
This commit is contained in:
1 parent
0b3b3b38bd
commit
ecbf8cd1b7
2 files changed
+6
-1
No files matched your search
@@ -1,3 +1,8 @@
|
||||
2012-01-29 Vladimir Serbinenko <phcoder@gmail.com>
|
||||
|
||||
* grub-core/lib/posix_wrap/assert.h (assert_real): Replace grub_fatal
|
||||
with grub_printf to avoid unnecessary fatal failure.
|
||||
|
||||
2012-01-29 Vladimir Serbinenko <phcoder@gmail.com>
|
||||
|
||||
* grub-core/lib/posix_wrap/limits.h (SHRT_MAX): New define.
|
||||
|
||||
@@ -27,7 +27,7 @@ static inline void
|
||||
assert_real (const char *file, int line, int cond)
|
||||
{
|
||||
if (!cond)
|
||||
grub_fatal ("Assertion failed at %s:%d\n", file, line);
|
||||
grub_printf ("Assertion failed at %s:%d\n", file, line);
|
||||
}
|
||||
|
||||
#endif
|
||||
Reference in new issue
Block a user