From 65338a63d25f6e84eb451f9020d0a251e4a70444 Mon Sep 17 00:00:00 2001 From: Sungkeun Kim Date: Thu, 24 Sep 2020 06:42:18 -0500 Subject: [PATCH] sim: Adding missing argument of panic function panic function call in panicFsOnlyPseudoInst (src/sim/pseudo_inst.cc) needs to be invoked with argument (name). Jira Issue: https://gem5.atlassian.net/jira/software/c/projects/GEM5/issues/GEM5-786?filter=allissues Change-Id: Iecacab7b9e0383373b69e9b790fa822d173d29c3 Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/35040 Reviewed-by: Jason Lowe-Power Maintainer: Jason Lowe-Power Tested-by: kokoro --- src/sim/pseudo_inst.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sim/pseudo_inst.cc b/src/sim/pseudo_inst.cc index 7335fda4e..697012003 100644 --- a/src/sim/pseudo_inst.cc +++ b/src/sim/pseudo_inst.cc @@ -103,7 +103,7 @@ const std::string DIST_SIZE = "dist-size"; static inline void panicFsOnlyPseudoInst(const char *name) { - panic("Pseudo inst \"%s\" is only available in Full System mode."); + panic("Pseudo inst \"%s\" is only available in Full System mode.", name); } void -- 2.30.2