mirror of
https://github.com/ostreedev/ostree.git
synced 2025-03-16 10:50:43 +03:00
prune: Fix two crasher bugs
This commit is contained in:
parent
2440338968
commit
19bc7ff85f
@ -54,7 +54,8 @@ log_verbose (const char *fmt,
|
||||
|
||||
va_start (args, fmt);
|
||||
|
||||
g_vprintf ("%s\n", args);
|
||||
g_vprintf (fmt, args);
|
||||
g_print ("\n");
|
||||
|
||||
va_end (args);
|
||||
}
|
||||
@ -238,6 +239,8 @@ ostree_builtin_prune (int argc, char **argv, GFile *repo_path, GError **error)
|
||||
gpointer key, value;
|
||||
GCancellable *cancellable = NULL;
|
||||
|
||||
memset (&data, 0, sizeof (data));
|
||||
|
||||
context = g_option_context_new ("- Search for unreachable objects");
|
||||
g_option_context_add_main_entries (context, options, NULL);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user