ot-main.c: fix signal callback signature
authorJonathan Lebon <jlebon@redhat.com>
Wed, 16 Aug 2017 13:10:39 +0000 (09:10 -0400)
committerAtomic Bot <atomic-devel@projectatomic.io>
Wed, 16 Aug 2017 13:17:14 +0000 (13:17 +0000)
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

index 81d10b98f0abf1dac7765e96baf8b9dfe8722645..4d47985b889918332e8d031e1785acc6d0e70d7d 100644 (file)
@@ -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);
 }