summaryrefslogtreecommitdiff
diff options
authorAndrea G. Monaco <[email protected]>2022-05-02 12:15:16 +0200
committerAndrea G. Monaco <[email protected]>2022-05-02 12:15:16 +0200
commitf713b92d9e920efbd65953a42793d7255207c62d (patch)
tree4748a9a0235d7bdbeab69f7d932825e09017ce2a
parentb87c534282176614924289cae7adf694f504bef5 (diff)
downloadmbdump-master.tar.gz
Improve some comments and output messagesHEADv1.1master
-rw-r--r--main.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/main.c b/main.c
index ecfa3dc..6599b5a 100644
--- a/main.c
+++ b/main.c
@@ -69,7 +69,7 @@ main (int argc, char *argv[])
uint32_t *console_flags;
uint32_t *mbi_tag_types;
- int mb_found = 0, mb2_found = 0; /* whether we found each one, some os might have both */
+ int mb_found = 0, mb2_found = 0; /* whether we found each one, some kernels might have both */
char tag_names[][40] =
{
@@ -154,7 +154,7 @@ main (int argc, char *argv[])
/* multiboot header must be aligned on 32 bits */
if (((unsigned long)magic - (unsigned long)start) % 4 != 0)
{
- printf ("warning: header alignment is not correct, specification requires 4 bytes\n");
+ printf ("warning: header alignment is not correct, specification requires 4 bytes alignment\n");
}
putchar ('\n');
@@ -288,7 +288,7 @@ main (int argc, char *argv[])
/* multiboot2 header must be aligned on 64 bits */
if (((unsigned long)magic - (unsigned long)start) % 8 != 0)
{
- printf ("warning: header alignment is not correct, specification requires 8 bytes\n");
+ printf ("warning: header alignment is not correct, specification requires 8 bytes alignment\n");
}
putchar ('\n');