Fixed some typos
This commit is contained in:
parent
b95c1b1217
commit
109b3ff3ae
|
@ -6,4 +6,4 @@ olyan különböző formátumú fájlokká, amiket az UEFI firmware használ.
|
||||||
|
|
||||||
* __efirom__ - ez PCI Option ROM képet készít
|
* __efirom__ - ez PCI Option ROM képet készít
|
||||||
|
|
||||||
* __efiffs__ - ez DXE UEFI eszközmeghajtó képet (bővebb infó [ebben a wikiben](https://github.com/pbatard/efifs/wiki/Adding-a-driver-to-a-UEFI-firmware) található arról, hogy kell a firmwarehez adni).
|
* __efiffs__ - ez DXE UEFI eszközmeghajtó képet (bővebb infó [ebben a wikiben](https://github.com/pbatard/efifs/wiki/Adding-a-driver-to-a-UEFI-firmware#adding-the-module-to-the-firmware) található arról, hogy kell a firmwarehez adni).
|
||||||
|
|
|
@ -6,4 +6,4 @@ with POSIX-UEFI into different file formats required by the UEFI firmware.
|
||||||
|
|
||||||
* __efirom__ - creates a PCI Option ROM image
|
* __efirom__ - creates a PCI Option ROM image
|
||||||
|
|
||||||
* __efiffs__ - creates a DXE UEFI driver image (see [this wiki](https://github.com/pbatard/efifs/wiki/Adding-a-driver-to-a-UEFI-firmware) on how to add it to a firmaware).
|
* __efiffs__ - creates a DXE UEFI driver image (see [this wiki](https://github.com/pbatard/efifs/wiki/Adding-a-driver-to-a-UEFI-firmware#adding-the-module-to-the-firmware) on how to add it to a firmware).
|
||||||
|
|
|
@ -93,7 +93,7 @@ void getguid(char *ptr, guid_t *guid)
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Parse fss type
|
* Parse ffs type
|
||||||
*/
|
*/
|
||||||
int gettype(char *str)
|
int gettype(char *str)
|
||||||
{
|
{
|
||||||
|
@ -108,7 +108,7 @@ int gettype(char *str)
|
||||||
if(!memcmp(str, "EFI_FV_FILETYPE_", 16)) str += 16;
|
if(!memcmp(str, "EFI_FV_FILETYPE_", 16)) str += 16;
|
||||||
for(i = 1; types[i] && strcmp(str, types[i]); i++);
|
for(i = 1; types[i] && strcmp(str, types[i]); i++);
|
||||||
if(!types[i]) {
|
if(!types[i]) {
|
||||||
fprintf(stderr, "efiffs: invalid fss type, available values:\r\n");
|
fprintf(stderr, "efiffs: invalid ffs type, available values:\r\n");
|
||||||
for(i = 1; types[i]; i++)
|
for(i = 1; types[i]; i++)
|
||||||
fprintf(stderr, " EFI_FV_FILETYPE_%s\r\n", types[i]);
|
fprintf(stderr, " EFI_FV_FILETYPE_%s\r\n", types[i]);
|
||||||
return 7; /* EFI_FV_FILETYPE_DRIVER */
|
return 7; /* EFI_FV_FILETYPE_DRIVER */
|
||||||
|
|
Loading…
Reference in New Issue