[PATCH proxmox v2 06/25] disks: fix typo in `initialize_gpt_disk`

Lukas Wagner
2026-03-19T09:46:15Z

proxmox-disks/src/lib.rs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/proxmox-disks/src/lib.rs b/proxmox-disks/src/lib.rs
index e6056c14..d672854a 100644
--- a/proxmox-disks/src/lib.rs
+++ b/proxmox-disks/src/lib.rs
@@ -1136,7 +1136,7 @@ pub fn reread_partition_table(disk: &Disk) -> Result<(), Error> {
}

/// Initialize disk by writing a GPT partition table
-pub fn inititialize_gpt_disk(disk: &Disk, uuid: Option<&str>) -> Result<(), Error> {
+pub fn initialize_gpt_disk(disk: &Disk, uuid: Option<&str>) -> Result<(), Error> {
let disk_path = match disk.device_path() {
Some(path) => path,
None => bail!("disk {:?} has no node in /dev", disk.syspath()),
--
2.47.3