core: c++ build: Use enum-NONE value instead of zero

In the whole libdnf/C++ discussion I experimented with trying to build
rpm-ostree as C++. There's a whole ton of stuff there. I'm going to punt for
now, but let's land this one change so some progress was made.

Closes: #1141
Approved by: jlebon
This commit is contained in:
Colin Walters 2017-12-12 11:27:58 -05:00 committed by Atomic Bot
parent 802c1fcb90
commit 5f03181c0a

View File

@ -251,7 +251,7 @@ clean_pkgcache_orphans (OstreeSysroot *sysroot,
if (n_freed > 0 || freed_space > 0)
{
char *freed_space_str = g_format_size_full (freed_space, 0);
char *freed_space_str = g_format_size_full (freed_space, G_FORMAT_SIZE_DEFAULT);
rpmostree_output_message ("Freed pkgcache branches: %u size: %s",
n_freed, freed_space_str);
}