Typo fixes in comments and variable names.
This commit is contained in:
parent
c3c20931a9
commit
cc85c3c340
39 changed files with 76 additions and 76 deletions
|
@ -53,7 +53,7 @@ grub_env_hashval (const char *s)
|
|||
{
|
||||
unsigned int i = 0;
|
||||
|
||||
/* XXX: This can be done much more effecient. */
|
||||
/* XXX: This can be done much more efficiently. */
|
||||
while (*s)
|
||||
i += 5 * *(s++);
|
||||
|
||||
|
|
|
@ -1089,7 +1089,7 @@ xsmap:
|
|||
* character and the attribute, and restore the current position.
|
||||
*
|
||||
* The reason why this is so complicated is that there is no easy way to
|
||||
* get the height of the screen, and the TELETYPE OUPUT BIOS call doesn't
|
||||
* get the height of the screen, and the TELETYPE OUTPUT BIOS call doesn't
|
||||
* support setting a background attribute.
|
||||
*/
|
||||
FUNCTION(grub_console_real_putchar)
|
||||
|
|
|
@ -576,7 +576,7 @@ grub_divmod64 (grub_uint64_t n, grub_uint32_t d, grub_uint32_t *r)
|
|||
unsigned long long q = 0;
|
||||
unsigned m = 0;
|
||||
|
||||
/* Skip the slow computation, if 32-bit arithmetics are possible. */
|
||||
/* Skip the slow computation if 32-bit arithmetic is possible. */
|
||||
if (n < 0xffffffff)
|
||||
{
|
||||
if (r)
|
||||
|
|
|
@ -164,7 +164,7 @@ grub_mm_init_region (void *addr, grub_size_t size)
|
|||
r->size = (h->size << GRUB_MM_ALIGN_LOG2);
|
||||
|
||||
/* Find where to insert this region. Put a smaller one before bigger ones,
|
||||
to prevent fragmentations. */
|
||||
to prevent fragmentation. */
|
||||
for (p = &base, q = *p; q; p = &(q->next), q = *p)
|
||||
if (q->size > r->size)
|
||||
break;
|
||||
|
|
|
@ -88,7 +88,7 @@ grub_ieee1275_find_options (void)
|
|||
3rd party updates which fix the partition bugs are common, and for
|
||||
some reason their fixes aren't being merged into trunk. So for
|
||||
example we know that 1.2 and 1.3 are broken, but there's 1.2.99
|
||||
and 1.3.99 which are known good (and appliing this workaround
|
||||
and 1.3.99 which are known good (and applying this workaround
|
||||
would cause breakage). */
|
||||
if (!grub_strcmp (tmp, "1.0")
|
||||
|| !grub_strcmp (tmp, "1.1")
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* openfw.c -- Open firmware support funtions. */
|
||||
/* openfw.c -- Open firmware support functions. */
|
||||
/*
|
||||
* GRUB -- GRand Unified Bootloader
|
||||
* Copyright (C) 2003, 2004, 2005, 2007 Free Software Foundation, Inc.
|
||||
|
@ -159,7 +159,7 @@ grub_err_t grub_available_iterate (int (*hook) (grub_uint64_t, grub_uint64_t))
|
|||
if (grub_ieee1275_get_property (memory, "available", available,
|
||||
sizeof available, 0))
|
||||
return grub_error (GRUB_ERR_UNKNOWN_DEVICE,
|
||||
"Couldn't examine /memory/available propery");
|
||||
"Couldn't examine /memory/available property");
|
||||
|
||||
/* Decode each entry and call `hook'. */
|
||||
i = 0;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* openfw.c -- Open firmware support funtions. */
|
||||
/* openfw.c -- Open firmware support functions. */
|
||||
/*
|
||||
* GRUB -- GRand Unified Bootloader
|
||||
* Copyright (C) 2003,2004,2005,2007 Free Software Foundation, Inc.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue