You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/app-misc/cw/files/1.0.16-format-security.patch

17 lines
412 B

src/cw.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/cw.c b/src/cw.c
index d7b4875..3ec1ac1 100644
--- a/src/cw.c
+++ b/src/cw.c
@@ -643,7 +643,7 @@ void sighandler(signed int sig){
else if(sig==SIGUSR1)ext=1;
else if(sig==SIGALRM)ext=2;
else if(sig==SIGPIPE||sig==SIGINT){
- fprintf(stderr,pal2[16]);
+ fprintf(stderr,"%s", pal2[16]);
fflush(stderr);
cwexit(0,0);
}