ref: ac5b311005c582f447cf073b9182a7f86110ef61
parent: c3fa922c2f7e09bdf577ca3041bfdbc683e55a91
author: anthony <[email protected]>
date: Tue Jan 12 13:04:42 EST 2010
use SI units (KiB) instead of the ambiguous kB
--- a/src/fix/main.c
+++ b/src/fix/main.c
@@ -330,7 +330,7 @@
padto *= 2;
if (!(ulOptions & OPTF_QUIET)) {
- printf("Padding to %ldkB with pad value %#02X\n", padto / 1024, pad_value & 0xFF);
+ printf("Padding to %ldKiB with pad value %#02X\n", padto / 1024, pad_value & 0xFF);
}
/*
if( padto<=0x80000L )
@@ -359,7 +359,7 @@
/*
}
else
- FatalError( "Image size exceeds 512kB" );
+ FatalError( "Image size exceeds 512KiB" );
*/
}
/*
@@ -378,7 +378,7 @@
padto /= 2;
if (!(ulOptions & OPTF_QUIET)) {
- printf("Truncating to %ldkB:\n", padto / 1024);
+ printf("Truncating to %ldKiB:\n", padto / 1024);
}
mkstemp(tempfile);
@@ -599,7 +599,7 @@
fflush(f);
}
if (!(ulOptions & OPTF_QUIET)) {
- printf("\tChanged ROM size byte from 0x%02lX (%ldkB) to 0x%02lX (%ldkB)\n",
+ printf("\tChanged ROM size byte from 0x%02lX (%ldKiB) to 0x%02lX (%ldKiB)\n",
cartromsize,
(0x8000L << cartromsize) / 1024,
calcromsize,