From 37aa81f7630299759a295c0cf03b98fd5639c4b8863a30c85b2b0e06431bf037 Mon Sep 17 00:00:00 2001 From: Nikolay Gueorguiev Date: Wed, 15 Nov 2023 08:00:18 +0000 Subject: [PATCH] Accepting request 1126534 from home:ngueorguiev:branches:Base:System - Fixed a logic error in read_values.c OBS-URL: https://build.opensuse.org/request/show/1126534 OBS-URL: https://build.opensuse.org/package/show/Base:System/s390-tools?expand=0&rev=183 --- read_values.c | 2 +- s390-tools.changes | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/read_values.c b/read_values.c index e227889..9ee5b92 100644 --- a/read_values.c +++ b/read_values.c @@ -352,7 +352,7 @@ struct utsname uts; erg = qc_get_attribute_string(configuration_handle, qc_type, 0, &cpu_type); if (erg == 1 && cpu_type != NULL) { - if ( check_model(cpu_type) ) { + if ( !check_model(cpu_type) ) { goto return_does_not_exist; } /* endif */ } /* endif */ diff --git a/s390-tools.changes b/s390-tools.changes index 641af87..06d9e07 100644 --- a/s390-tools.changes +++ b/s390-tools.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Nov 15 07:55:09 UTC 2023 - Nikolay Gueorguiev + +- Fixed a logic error in read_values.c + ------------------------------------------------------------------- Mon Nov 13 13:13:11 UTC 2023 - Nikolay Gueorguiev