On Fri, 06 Dec, 2013 at 01:21:20 GMT, Kevin Kofler wrote:
> a printf wrapper for logging which adds a timestamp in front of the
> format string.

Use the printf attribute on the function to fix this. See stalonetray's
patch[1]. It can't be done portably with a macro (you need ##
__VA_ARGS__ for that, so it should be a function anyways).

--Ben

[1]https://pkgs.fedoraproject.org/cgit/stalonetray.git/tree/stalonetray-0.8.1--Werror-format-security.patch

-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct

Reply via email to