mirror of
https://github.com/ostreedev/ostree.git
synced 2025-01-03 05:18:24 +03:00
sysroot: Use journal rather than printf()
Fix the TODO here; this was making some bootc output ugly. Signed-off-by: Colin Walters <walters@verbum.org>
This commit is contained in:
parent
9b977e2828
commit
772801faf0
@ -572,11 +572,10 @@ _ostree_sysroot_cleanup_internal (OstreeSysroot *self, gboolean do_prune_repo,
|
||||
&freed_space, cancellable, error))
|
||||
return FALSE;
|
||||
|
||||
/* TODO remove printf in library */
|
||||
if (freed_space > 0)
|
||||
{
|
||||
g_autofree char *freed_space_str = g_format_size_full (freed_space, 0);
|
||||
g_print ("Freed objects: %s\n", freed_space_str);
|
||||
ot_journal_print (LOG_INFO, "Freed objects: %s", freed_space_str);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user