diff --git a/include/x86/gpt.h b/include/x86/gpt.h index 7656bef9..faa34298 100644 --- a/include/x86/gpt.h +++ b/include/x86/gpt.h @@ -24,5 +24,5 @@ int disk_open(int drv); int disk_read(int drv, int part, uint64_t off, uint64_t sz, uint8_t *buf); int disk_write(int drv, int part, uint64_t off, uint64_t sz, const uint8_t *buf); -int disk_find_partion_by_label(int drv, const char *label); +int disk_find_partition_by_label(int drv, const char *label); #endif diff --git a/src/x86/gpt.c b/src/x86/gpt.c index 0cd66b7b..096e38e6 100644 --- a/src/x86/gpt.c +++ b/src/x86/gpt.c @@ -358,7 +358,7 @@ int disk_write(int drv, int part, uint64_t off, uint64_t sz, const uint8_t *buf) return ret; } -int disk_find_partion_by_label(int drv, const char *label) +int disk_find_partition_by_label(int drv, const char *label) { struct disk_partition *p; int i;