26 lines
834 B
Diff
26 lines
834 B
Diff
From 9caf89e4449e5e4cea7f61a7377c77a69d7cad94 Mon Sep 17 00:00:00 2001
|
|
From: Vojtech Trefny <vtrefny@redhat.com>
|
|
Date: Mon, 5 Aug 2024 10:03:59 +0800
|
|
Subject: [PATCH] part: Fix copy-paste bug in bd_part_spec_copy
|
|
|
|
---
|
|
src/lib/plugin_apis/part.api | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/src/lib/plugin_apis/part.api b/src/lib/plugin_apis/part.api
|
|
index 41cc30c..a4e8ee4 100644
|
|
--- a/src/lib/plugin_apis/part.api
|
|
+++ b/src/lib/plugin_apis/part.api
|
|
@@ -82,7 +82,7 @@ BDPartSpec* bd_part_spec_copy (BDPartSpec *data) {
|
|
|
|
ret->path = g_strdup (data->path);
|
|
ret->name = g_strdup (data->name);
|
|
- ret->name = g_strdup (data->uuid);
|
|
+ ret->uuid = g_strdup (data->uuid);
|
|
ret->id = g_strdup (data->id);
|
|
ret->type_guid = g_strdup (data->type_guid);
|
|
ret->type = data->type;
|
|
--
|
|
2.33.0
|
|
|