commit | b9fe995797542ac6a2bd05c1864eeb53dbfdebf7 | [log] [tgz] |
---|---|---|
author | Andrew Burgess <andrew.burgess@embecosm.com> | Mon Feb 01 11:12:56 2021 +0000 |
committer | Andrew Burgess <andrew.burgess@embecosm.com> | Mon Feb 08 11:01:07 2021 +0000 |
tree | c7557b6bb2ab942a9f1c3b49b06412b8426c37c8 | |
parent | 4b426396368fd250a502a9c547da7143af4afbe0 [diff] |
sim/rx: provide a format string for printf Calling printf with the format being a non constant string results in a GCC warning: warning: format not a string literal and no format arguments [-Wformat-nonliteral] Provide a constant format string to printf in the few places this warning is triggered. sim/rx/ChangeLog: * reg.c (fpsw2str): Provide a format string to printf. (trace_register_changes): Likewise.