Fixes "format not a string literal and no format arguments [-Wformat-security]" warnings.
Fixes "incompatible implicit declaration of built-in function" warnings.
Obtained from [1]. [1] http://snapshot.debian.org/archive/debian-archive/20090802T004153Z/debian/pool/main/w/wmload/wmload_0.9.2.orig.tar.gz