fix source so that '-Wformat -Werror=format-security' doesn't stop us from compiling
[citadel.git] / citadel / utils / sendcommand.c
index 097a9034b93b276e6e3da007cfafbcd7b0943308..5227eb32b05ac51ba0f2ca0836ba2e0a2a23974d 100644 (file)
@@ -291,7 +291,7 @@ int main(int argc, char **argv)
                                n = read(ipc->sock, rbuf, SIZ);
                                if (n>0) {
                                        rbuf[n]='\0';
-                                       fprintf(stderr, rbuf);
+                                       fprintf(stderr, "%s", rbuf);
                                        fflush (stdout);
                                }
                        }