Simplify few strings.
This commit is contained in:
parent
d22840ec12
commit
fb2666b560
4 changed files with 10 additions and 5 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
2013-05-07 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
|
Simplify few strings.
|
||||||
|
|
||||||
2013-05-07 Vladimir Serbinenko <phcoder@gmail.com>
|
2013-05-07 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
Mark few forgotten strings for translation.
|
Mark few forgotten strings for translation.
|
||||||
|
|
|
@ -263,8 +263,8 @@ algo_decrypt (grub_crypto_cipher_handle_t cipher, grub_uint64_t algo,
|
||||||
return grub_gcm_decrypt (cipher, out, in, psize, mac_out, nonce,
|
return grub_gcm_decrypt (cipher, out, in, psize, mac_out, nonce,
|
||||||
15 - l, m);
|
15 - l, m);
|
||||||
default:
|
default:
|
||||||
return grub_error (GRUB_ERR_NOT_IMPLEMENTED_YET, "algorithm %"
|
return grub_error (GRUB_ERR_NOT_IMPLEMENTED_YET, "algorithm %lld is not supported yet",
|
||||||
PRIuGRUB_UINT64_T " is not supported yet", algo);
|
(long long) algo);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -599,7 +599,8 @@ malloc_in_range (struct grub_relocator *rel,
|
||||||
do
|
do
|
||||||
{
|
{
|
||||||
if (p->magic != GRUB_MM_FREE_MAGIC)
|
if (p->magic != GRUB_MM_FREE_MAGIC)
|
||||||
grub_fatal (__FILE__":%d free magic broken at %p (0x%x)\n",
|
grub_fatal ("%s:%d free magic broken at %p (0x%x)\n",
|
||||||
|
__FILE__,
|
||||||
__LINE__, p, p->magic);
|
__LINE__, p, p->magic);
|
||||||
if (p == (grub_mm_header_t) (r + 1))
|
if (p == (grub_mm_header_t) (r + 1))
|
||||||
{
|
{
|
||||||
|
|
|
@ -55,7 +55,7 @@ SUFFIX (grub_macho_parse) (grub_macho_t macho, const char *filename)
|
||||||
|
|
||||||
if (head.macho.magic != GRUB_MACHO_MAGIC)
|
if (head.macho.magic != GRUB_MACHO_MAGIC)
|
||||||
{
|
{
|
||||||
grub_error (GRUB_ERR_BAD_OS, "invalid Mach-O " XX "-bit header");
|
grub_error (GRUB_ERR_BAD_OS, "invalid Mach-O header");
|
||||||
macho->offsetXX = -1;
|
macho->offsetXX = -1;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
@ -154,7 +154,7 @@ grub_macho_cmds_iterate (grub_macho_t macho,
|
||||||
}
|
}
|
||||||
|
|
||||||
if (! macho->cmdsXX)
|
if (! macho->cmdsXX)
|
||||||
return grub_error (GRUB_ERR_BAD_OS, "couldn't find " XX "-bit Mach-O");
|
return grub_error (GRUB_ERR_BAD_OS, "couldn't find Mach-O commands");
|
||||||
hdrs = macho->cmdsXX;
|
hdrs = macho->cmdsXX;
|
||||||
for (i = 0; i < macho->ncmdsXX; i++)
|
for (i = 0; i < macho->ncmdsXX; i++)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue