From 730082024ffdd1e66620d0f3be3ef7d2b4310919 Mon Sep 17 00:00:00 2001 From: Rodrigo Arias Date: Mon, 19 Dec 2022 15:30:27 +0100 Subject: [PATCH] Initialize last_phy in test mp-simple --- test/emu/ovni/mp-simple.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/emu/ovni/mp-simple.c b/test/emu/ovni/mp-simple.c index 71daf60..4007155 100644 --- a/test/emu/ovni/mp-simple.c +++ b/test/emu/ovni/mp-simple.c @@ -56,7 +56,7 @@ instr_start(int rank) cpu_set_t mask; char hostname[HOST_NAME_MAX]; int i, j = 0, curcpu = -1; - int last_phy; + int last_phy = 0; if (gethostname(hostname, HOST_NAME_MAX) != 0) fail("gethostname failed");