Check arguments to wl_resource_post_error in gcc
authorBill Spitzak <spitzak@gmail.com>
Mon, 19 Mar 2012 01:54:21 +0000 (18:54 -0700)
committerKristian Høgsberg <krh@bitplanet.net>
Tue, 20 Mar 2012 20:52:17 +0000 (16:52 -0400)
commit81ffaa04b9c17f868844294aa107155f397650f2
tree52fd90e886f99954a1103ad79c05b5db250eda7f
parentecfb79bd7180da4a053338532fe633d7d70d6ead
Check arguments to wl_resource_post_error in gcc

The attached patch turns on printf argument warnings for this function,
which I found was being called incorrectly at least once in the wayland
source code.
src/wayland-server.h