projects
/
ostree.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9b977e2
)
sysroot: Use journal rather than printf()
author
Colin Walters
<walters@verbum.org>
Wed, 3 Jul 2024 14:37:02 +0000
(14:37 +0000)
committer
Colin Walters
<walters@verbum.org>
Mon, 8 Jul 2024 11:52:39 +0000
(07:52 -0400)
Fix the TODO here; this was making some bootc output
ugly.
Signed-off-by: Colin Walters <walters@verbum.org>
src/libostree/ostree-sysroot-cleanup.c
patch
|
blob
|
history
diff --git
a/src/libostree/ostree-sysroot-cleanup.c
b/src/libostree/ostree-sysroot-cleanup.c
index e5ffc5a7542241b6a93a68ad75b5182005ffe8c4..5d44af4596c42d382aece8d5b647ade41cfb4422 100644
(file)
--- a/
src/libostree/ostree-sysroot-cleanup.c
+++ b/
src/libostree/ostree-sysroot-cleanup.c
@@
-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);
}
}