Blame 0031-cfdisk-don-t-use-NULL-in-printf-coverity-scan.patch

673c78
From da3add097b70160cd2c6bab0a4acb699df07ebe8 Mon Sep 17 00:00:00 2001
673c78
From: Karel Zak <kzak@redhat.com>
673c78
Date: Thu, 17 Mar 2022 10:48:33 +0100
673c78
Subject: cfdisk: don't use NULL in printf [coverity scan]
673c78
673c78
Upstream: http://github.com/util-linux/util-linux/commit/30cc5f5751698cccb625193f715f1a606a7f91b4
673c78
Addresses: https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=2109459
673c78
Signed-off-by: Karel Zak <kzak@redhat.com>
673c78
---
673c78
 disk-utils/cfdisk.c | 2 +-
673c78
 1 file changed, 1 insertion(+), 1 deletion(-)
673c78
673c78
diff --git a/disk-utils/cfdisk.c b/disk-utils/cfdisk.c
673c78
index c1b28889f..36eb3f8c6 100644
673c78
--- a/disk-utils/cfdisk.c
673c78
+++ b/disk-utils/cfdisk.c
673c78
@@ -2080,7 +2080,7 @@ done:
673c78
 	}
673c78
 	free(cm);
673c78
 	DBG(UI, ul_debug("get parrtype done [type=%s] ", t ?
673c78
-				fdisk_parttype_get_name(t) : NULL));
673c78
+				fdisk_parttype_get_name(t) : ""));
673c78
 	return t;
673c78
 }
673c78
 
673c78
-- 
673c78
2.36.1
673c78