aboutsummaryrefslogtreecommitdiff
path: root/qobject/qerror.c
diff options
context:
space:
mode:
authorAnthony Liguori <aliguori@amazon.com>2013-12-06 12:52:50 -0800
committerAnthony Liguori <aliguori@amazon.com>2013-12-06 12:52:50 -0800
commit783eb67e7a125eaf226e5ea4f5df97c1ea42311e (patch)
tree1c0ca834d9097a7f889385166d4eefc49a7de0af /qobject/qerror.c
parent7dc65c02fe3fb8f3146ce0b9ff5fec5945329f0e (diff)
parent6fedcaa1c5419fa89c31fd34dabbd71861c615d2 (diff)
Merge remote-tracking branch 'mjt/trivial-patches' into staging
# By Stefan Weil (9) and others # Via Michael Tokarev * mjt/trivial-patches: eeprom93xx: fix coding style hw/ppc/mac.h: remove unused BIOS_FILENAME definition Don't crash on keyboard input with no handler libcacard/vcard_emul_nss: Remove unused statement (value stored is never read) libcacard/cac: Remove unused statement (value stored is never read) virtio-net: fix the indent misc: Replace 'struct QEMUTimer' by 'QEMUTimer' qobject: Fix compiler warning (missing gnu_printf format attribute) acpi-build: Fix compiler warning (missing gnu_printf format attribute) .gitignore: Ignore config.status gtk: Replace conditional debug messages by trace methods console: Replace conditional debug messages by trace methods trace: Remove trace.h from hw/usb/hcd-ehci.h (less dependencies) trace: Remove trace.h from console.h (less dependencies) Message-id: 1385408466-13183-1-git-send-email-mjt@msgid.tls.msk.ru Signed-off-by: Anthony Liguori <aliguori@amazon.com>
Diffstat (limited to 'qobject/qerror.c')
-rw-r--r--qobject/qerror.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/qobject/qerror.c b/qobject/qerror.c
index 3aee1cf6a6..fc8331aa67 100644
--- a/qobject/qerror.c
+++ b/qobject/qerror.c
@@ -42,8 +42,8 @@ static QError *qerror_new(void)
*
* Return strong reference.
*/
-static QError *qerror_from_info(ErrorClass err_class, const char *fmt,
- va_list *va)
+static QError * GCC_FMT_ATTR(2, 0)
+qerror_from_info(ErrorClass err_class, const char *fmt, va_list *va)
{
QError *qerr;