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
This commit is contained in:
Jonathan Lebon 2017-08-16 09:10:39 -04:00 committed by Atomic Bot
parent c0e20861d5
commit 76fc1ba476
1 changed files with 2 additions and 1 deletions

View File

@ -360,7 +360,8 @@ ostree_option_context_parse (GOptionContext *context,
static void static void
on_sysroot_journal_msg (OstreeSysroot *sysroot, on_sysroot_journal_msg (OstreeSysroot *sysroot,
const char *msg) const char *msg,
void *dummy)
{ {
g_print ("%s\n", msg); g_print ("%s\n", msg);
} }