Fix typos

This commit is contained in:
Alex Kotov 2020-11-28 03:30:43 +05:00
parent 36674b0516
commit 9baf8dc3d9
Signed by: kotovalexarian
GPG Key ID: 553C0EBBEB5D5F08
1 changed files with 10 additions and 10 deletions

View File

@ -102,7 +102,7 @@ static const struct {
static const struct { static const struct {
struct KernAux_Multiboot2_Tag_BootLoaderName tag; struct KernAux_Multiboot2_Tag_BootLoaderName tag;
char cmdline[1]; char name[1];
} tag_boot_loader_name_with_empty_name_valid = { } tag_boot_loader_name_with_empty_name_valid = {
.tag = { .tag = {
.base = { .base = {
@ -110,12 +110,12 @@ static const struct {
.size = 9, .size = 9,
}, },
}, },
.cmdline = "\0", .name = "\0",
}; };
static const struct { static const struct {
struct KernAux_Multiboot2_Tag_BootLoaderName tag; struct KernAux_Multiboot2_Tag_BootLoaderName tag;
char cmdline[14]; char name[14];
} tag_boot_loader_name_with_some_name_valid = { } tag_boot_loader_name_with_some_name_valid = {
.tag = { .tag = {
.base = { .base = {
@ -123,12 +123,12 @@ static const struct {
.size = 22, .size = 22,
}, },
}, },
.cmdline = "Hello, World!\0", .name = "Hello, World!\0",
}; };
static const struct { static const struct {
struct KernAux_Multiboot2_Tag_BootLoaderName tag; struct KernAux_Multiboot2_Tag_BootLoaderName tag;
char cmdline[1]; char name[1];
} tag_boot_loader_name_invalid_type = { } tag_boot_loader_name_invalid_type = {
.tag = { .tag = {
.base = { .base = {
@ -136,12 +136,12 @@ static const struct {
.size = 9, .size = 9,
}, },
}, },
.cmdline = "\0", .name = "\0",
}; };
static const struct { static const struct {
struct KernAux_Multiboot2_Tag_BootLoaderName tag; struct KernAux_Multiboot2_Tag_BootLoaderName tag;
char cmdline[1]; char name[1];
} tag_boot_loader_name_with_empty_name_invalid_size = { } tag_boot_loader_name_with_empty_name_invalid_size = {
.tag = { .tag = {
.base = { .base = {
@ -149,12 +149,12 @@ static const struct {
.size = 10, .size = 10,
}, },
}, },
.cmdline = "\0", .name = "\0",
}; };
static const struct { static const struct {
struct KernAux_Multiboot2_Tag_BootLoaderName tag; struct KernAux_Multiboot2_Tag_BootLoaderName tag;
char cmdline[14]; char name[14];
} tag_boot_loader_name_with_some_name_invalid_size = { } tag_boot_loader_name_with_some_name_invalid_size = {
.tag = { .tag = {
.base = { .base = {
@ -162,7 +162,7 @@ static const struct {
.size = 23, .size = 23,
}, },
}, },
.cmdline = "Hello, World!\0", .name = "Hello, World!\0",
}; };
/************** /**************