* 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:
parent
0b3b3b38bd
commit
ecbf8cd1b7
2 changed files with 6 additions and 1 deletions
|
@ -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>
|
2012-01-29 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
* grub-core/lib/posix_wrap/limits.h (SHRT_MAX): New define.
|
* 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)
|
assert_real (const char *file, int line, int cond)
|
||||||
{
|
{
|
||||||
if (!cond)
|
if (!cond)
|
||||||
grub_fatal ("Assertion failed at %s:%d\n", file, line);
|
grub_printf ("Assertion failed at %s:%d\n", file, line);
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue