Blame SOURCES/0008-mdraid-Fix-copy-paste-error-when-checking-return-val.patch

1c784e
From 8d26fe554dc057566b722b895aa48092ea0f2f64 Mon Sep 17 00:00:00 2001
1c784e
From: Vojtech Trefny <vtrefny@redhat.com>
1c784e
Date: Fri, 25 Sep 2020 14:26:57 +0200
1c784e
Subject: [PATCH] mdraid: Fix copy-paste error when checking return value
1c784e
1c784e
---
1c784e
 src/plugins/mdraid.c | 2 +-
1c784e
 1 file changed, 1 insertion(+), 1 deletion(-)
1c784e
1c784e
diff --git a/src/plugins/mdraid.c b/src/plugins/mdraid.c
1c784e
index 24f01bcb..eaf659d3 100644
1c784e
--- a/src/plugins/mdraid.c
1c784e
+++ b/src/plugins/mdraid.c
1c784e
@@ -995,7 +995,7 @@ BDMDExamineData* bd_md_examine (const gchar *device, GError **error) {
1c784e
     orig_data = ret->dev_uuid;
1c784e
     if (orig_data) {
1c784e
         ret->dev_uuid = bd_md_canonicalize_uuid (orig_data, error);
1c784e
-        if (!ret->uuid) {
1c784e
+        if (!ret->dev_uuid) {
1c784e
             g_prefix_error (error, "Failed to canonicalize MD UUID '%s': ", orig_data);
1c784e
             g_free (orig_data);
1c784e
             bd_md_examine_data_free (ret);
1c784e
-- 
1c784e
2.37.1
1c784e