From edeee1bbf174bdd81ae2f380d5dc8523041912cb Mon Sep 17 00:00:00 2001 From: Marco Oliverio Date: Thu, 19 Dec 2024 16:43:44 +0000 Subject: [PATCH] gpt: fix spelling error --- include/x86/gpt.h | 2 +- src/x86/gpt.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/x86/gpt.h b/include/x86/gpt.h index 7656bef95..faa34298e 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 0cd66b7b0..096e38e64 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;