Mark Wielaard af7589
diff --git a/coregrind/m_gdbserver/remote-utils.c b/coregrind/m_gdbserver/remote-utils.c
Mark Wielaard af7589
index d8dbe2a..b832d69 100644
Mark Wielaard af7589
--- a/coregrind/m_gdbserver/remote-utils.c
Mark Wielaard af7589
+++ b/coregrind/m_gdbserver/remote-utils.c
Mark Wielaard af7589
@@ -39,7 +39,7 @@
Mark Wielaard af7589
 static
Mark Wielaard af7589
 void sr_extended_perror (SysRes sr, const HChar *msg)
Mark Wielaard af7589
 {
Mark Wielaard af7589
-   sr_perror (sr, msg);
Mark Wielaard af7589
+   sr_perror (sr, "%s", msg);
Mark Wielaard af7589
    if (VG_(clo_verbosity) > 0 || VG_(debugLog_getLevel)() >= 1) {
Mark Wielaard af7589
       Int i;
Mark Wielaard af7589
       vki_sigset_t cursigset;