diff options
author | A. Maitland Bottoms <bottoms@debian.org> | 2021-10-21 09:07:35 -0500 |
---|---|---|
committer | michael-west <michael.west@ettus.com> | 2021-11-10 10:24:23 -0800 |
commit | c5fbcb8e1ef5430280ebff98e176074ef762ef77 (patch) | |
tree | a32787cdda351c7c14780c977b52eb3ded300324 | |
parent | uhd: Fix spelling errors (diff) | |
download | uhd-c5fbcb8e1ef5430280ebff98e176074ef762ef77.tar.xz uhd-c5fbcb8e1ef5430280ebff98e176074ef762ef77.zip |
uhd: Fix printw function arguments
This is necessary when compiling with -Werror=format-security as Debian
package builds do.
Thanks to mait for the fix!
-rw-r--r-- | host/utils/latency/lib/Responder.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/host/utils/latency/lib/Responder.cpp b/host/utils/latency/lib/Responder.cpp index 0d7a307dd..fb99fd5f4 100644 --- a/host/utils/latency/lib/Responder.cpp +++ b/host/utils/latency/lib/Responder.cpp @@ -56,7 +56,7 @@ void Responder::register_stop_signal_handler() // For ncurses. Print everything in stream to screen void Responder::FLUSH_SCREEN() { - printw(_ss.str().c_str()); + printw("%s", _ss.str().c_str()); refresh(); _ss.str(""); } |