From: Sungkeun Kim Date: Thu, 24 Sep 2020 11:42:18 +0000 (-0500) Subject: sim: Adding missing argument of panic function X-Git-Tag: v20.1.0.0~4 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=65338a63d25f6e84eb451f9020d0a251e4a70444;p=gem5.git 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 --- 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