mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: andersg@0x63.nu
To: Martin Jonsson <marty@rty.nu>
Cc: andersg@0x63.nu, linux-kernel@vger.kernel.org
Subject: Re: kiB
Date: Thu, 27 Dec 2001 17:18:23 +0100	[thread overview]
Message-ID: <20011227161823.GC11106@h55p111.delphi.afb.lu.se> (raw)
In-Reply-To: <20011227160557.GB11106@h55p111.delphi.afb.lu.se> <Pine.LNX.4.42.0112271710380.865-100000@hawaii.cyberzone.lan>
In-Reply-To: <Pine.LNX.4.42.0112271710380.865-100000@hawaii.cyberzone.lan>

On Thu, Dec 27, 2001 at 05:14:25PM +0100, Martin Jonsson wrote:
> > -       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?

yes, ofcourse.. new patch attached :)

-- 

//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 17:13:20 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);
 	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))

  reply	other threads:[~2001-12-27 16:18 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-12-27 16:05 kiB andersg
2001-12-27 16:14 ` kiB Martin Jonsson
2001-12-27 16:18   ` andersg [this message]
2001-12-27 22:31 ` kiB Guest section DW

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20011227161823.GC11106@h55p111.delphi.afb.lu.se \
    --to=andersg@0x63.nu \
    --cc=linux-kernel@vger.kernel.org \
    --cc=marty@rty.nu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®