lkml.org 
[lkml]   [2001]   [Dec]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: kiB
andersg@0x63.nu wrote:

> this shouldn't be that controversial, as it's only visible to people
> compiling kernels :)
>
> --
>
> //anders/g
>
> diff -ru linux-2.5.2-pre2/arch/i386/boot/tools/build.c
> linux-2.5.2-pre2-lvmfix/arch/i386/boot/tools/build.c
> --- linux-2.5.2-pre2/arch/i386/boot/tools/build.c Mon Jul 2
> 22:56:40 2001
> +++ linux-2.5.2-pre2-lvmfix/arch/i386/boot/tools/build.c Thu Dec
> 27
> 16:48:55 2001
> @@ -148,7 +148,7 @@
> if (fstat (fd, &sb))
> die("Unable to stat `%s': %m", argv[3]);
> sz = sb.st_size;
> - fprintf (stderr, "System is %d kB\n", sz/1024);
> + fprintf (stderr, "System is %d kiB\n", sz/1024);

Shouldn't that be "KiB" when talking about kibibytes?

> sys_size = (sz + 15) / 16;
> /* 0x28000*16 = 2.5 MB, conservative estimate for the current
> maximum */
> if (sys_size > (is_big_kernel ? 0x28000 : DEF_SYSSIZE))

--
/marty

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:14    [W:0.060 / U:0.088 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site