diff mbox series

[06/12] main: cpus_parse() should fail if get_pir() fails

Message ID 20210802054112.461728-7-jniethe5@gmail.com
State Superseded
Headers show
Series P10 HTM Support | expand

Commit Message

Jordan Niethe Aug. 2, 2021, 5:41 a.m. UTC
Signed-off-by: Jordan Niethe <jniethe5@gmail.com>
---
 src/main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/src/main.c b/src/main.c
index 5d16a7dbac18..b2474d87135a 100644
--- a/src/main.c
+++ b/src/main.c
@@ -499,7 +499,7 @@  static bool parse_options(int argc, char *argv[])
 			if (l_list[i] == 1) {
 				pir = get_pir(i);
 				if (pir < 0)
-					return true;
+					return false;
 
 				pir_map(pir, &chip, &core, &thread);