From fbd159c0089c4c4db3edfaaca72fbc65a6684510 Mon Sep 17 00:00:00 2001 From: Pavel Cahyna Date: Fri, 28 Jul 2023 12:13:15 +0200 Subject: [PATCH] Adjust upstream PR 120 Fix copy-paste error Resolves: rhbz2224578 --- 0024-sdr-Fix-segfault-on-invalid-unit-types.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/0024-sdr-Fix-segfault-on-invalid-unit-types.patch b/0024-sdr-Fix-segfault-on-invalid-unit-types.patch index 21ad2f3..8742fca 100644 --- a/0024-sdr-Fix-segfault-on-invalid-unit-types.patch +++ b/0024-sdr-Fix-segfault-on-invalid-unit-types.patch @@ -163,7 +163,7 @@ index eb40b36..b43765a 100644 + } + + if (modifier <= UNIT_TYPE_MAX) { -+ modstr = unit_desc[base]; ++ modstr = unit_desc[modifier]; + } + else { + modstr = "invalid";