diff options
-rw-r--r-- | com32/modules/mboot.c | 4 | ||||
-rw-r--r-- | com32/modules/pci.c | 8 | ||||
-rw-r--r-- | com32/modules/readconfig.c | 6 | ||||
-rw-r--r-- | com32/modules/vesamenu.c | 2 |
4 files changed, 10 insertions, 10 deletions
diff --git a/com32/modules/mboot.c b/com32/modules/mboot.c index 4c605b71..23638b4f 100644 --- a/com32/modules/mboot.c +++ b/com32/modules/mboot.c @@ -990,7 +990,7 @@ int main(int argc, char **argv) mbi->mods_addr = ((size_t)modp) - mbi_reloc_offset; p = (char *)(modp + modules); - /* Append cmdline args show up in the beginning, append these + /* Append cmdline args show up in the beginning, append these * to kernel cmdline later on */ for (i = 1; i < argc; i++) { if (strchr(argv[i], '=') != NULL) { @@ -1003,7 +1003,7 @@ int main(int argc, char **argv) mbi->cmdline = ((size_t)p) - mbi_reloc_offset; modules = 0; num_append_args = i-1; - + for (; i < argc ; i++) { if (!strcmp(argv[i], module_separator)) { /* Add append args to kernel cmdline */ diff --git a/com32/modules/pci.c b/com32/modules/pci.c index 48fba303..3d83db1b 100644 --- a/com32/modules/pci.c +++ b/com32/modules/pci.c @@ -43,7 +43,7 @@ skipspace(char *p) void remove_eol(char *string) { - int j = strlen(string); + int j = strlen(string); int i = 0; for(i = 0; i < j; i++) if(string[i] == '\n') string[i] = 0; } @@ -76,8 +76,8 @@ void get_name_from_pci_ids(s_pci_device *pci_device) strcpy(product_id,"0000"); strcpy(sub_product_id,"0000"); strcpy(sub_vendor_id,"0000"); - - + + while ( fgets(line, sizeof line, f) ) { if ((line[0] == '#') || (line[0] == ' ') || (line[0] == 'C') || (line[0] == 10)) continue; @@ -142,7 +142,7 @@ int pci_scan(s_pci_bus_list *pci_bus_list, s_pci_device_list *pci_device_list) pci_bus_list->pci_bus[bus].id=bus; pci_bus_list->pci_bus[bus].pci_device_count=0; pci_bus_list->count=0;; - + for ( dev = 0 ; dev <= 0x1f ; dev++ ) { maxfunc = 0; for ( func = 0 ; func <= maxfunc ; func++ ) { diff --git a/com32/modules/readconfig.c b/com32/modules/readconfig.c index a0a78420..ddcfd136 100644 --- a/com32/modules/readconfig.c +++ b/com32/modules/readconfig.c @@ -440,14 +440,14 @@ static void parse_config_file(FILE *f) p++; else cptr->argb_fg = parse_argb(&p); - + p = skipspace(p); if (*p) { if (looking_at(p, "*")) p++; else cptr->argb_bg = parse_argb(&p); - + /* Parse a shadow mode */ p = skipspace(p); ch = *p | 0x20; @@ -506,7 +506,7 @@ static void parse_config_file(FILE *f) } else if ( looking_at(p, "allowoptions") ) { allowedit = atoi(skipspace(p+12)); } else if ( looking_at(p, "ipappend") ) { - if (ld.label) + if (ld.label) ld.ipappend = atoi(skipspace(p+8)); else ipappend = atoi(skipspace(p+8)); diff --git a/com32/modules/vesamenu.c b/com32/modules/vesamenu.c index 6316eae4..709e5e55 100644 --- a/com32/modules/vesamenu.c +++ b/com32/modules/vesamenu.c @@ -39,7 +39,7 @@ int vesacon_load_background(const char *); int main(int argc, char *argv[]) { openconsole(&dev_rawcon_r, &dev_vesaserial_w); - + draw_background = vesacon_load_background; return menu_main(argc, argv); |