Fix build with -Werror=format-security
commit261a022ce947d17471b73a71345c265df9bfe7a4
authorMichael Scherer <misc@mandriva.org>
Mon, 8 Mar 2010 00:29:39 +0000 (7 19:29 -0500)
committerSadrul Habib Chowdhury <sadrul@users.sourceforge.net>
Mon, 8 Mar 2010 00:29:39 +0000 (7 19:29 -0500)
treea527b05c46c7f5b91ef7413f75627d71f7fd5f80
parent2e62d3683eefb23e6955b55c16ce3266b12aa401
Fix build with -Werror=format-security

Some distributions ( mandriva for example ) use
-Werror=format-security by default when build C software to try to
enhance code quality and prevent security bugs. As the policy is to
correct all occurences of the error ( so there is no false positive,
nor question about to fix it or not ), a patch that fix the
error on gnu screen 4.0.3 have been added to the package. I have
rediffed it against latest git snapshot, to be sent upstream.

It mainly add "%s" where applicable.
src/attacher.c
src/fileio.c
src/misc.c
src/process.c
src/resize.c
src/screen.c
src/socket.c
src/termcap.c
src/window.c