From 76fc1ba4764c4e91349efffa4f70b9fc8a1150e9 Mon Sep 17 00:00:00 2001 From: Jonathan Lebon Date: Wed, 16 Aug 2017 09:10:39 -0400 Subject: [PATCH] ot-main.c: fix signal callback signature Signal callbacks take a void* as their final parameter, which we don't use in this case. Closes: #1082 Approved by: cgwalters --- src/ostree/ot-main.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/ostree/ot-main.c b/src/ostree/ot-main.c index 81d10b98..4d47985b 100644 --- a/src/ostree/ot-main.c +++ b/src/ostree/ot-main.c @@ -360,7 +360,8 @@ ostree_option_context_parse (GOptionContext *context, static void on_sysroot_journal_msg (OstreeSysroot *sysroot, - const char *msg) + const char *msg, + void *dummy) { g_print ("%s\n", msg); }