summaryrefslogtreecommitdiff
path: root/src/ostree/ot-admin-builtin-diff.c
diff options
context:
space:
mode:
authorColin Walters <walters@verbum.org>2013-09-15 20:16:20 -0400
committerColin Walters <walters@verbum.org>2013-09-15 20:16:20 -0400
commitc6292942ff3d284f9a8056c314bf1ffbf45278ae (patch)
tree9b6a624933b00626420bff6fd56fb1ac2b8b47a5 /src/ostree/ot-admin-builtin-diff.c
parent95f07d486adcb6bb12d8da0016066d8d8db205d6 (diff)
downloadostree-c6292942ff3d284f9a8056c314bf1ffbf45278ae.tar.gz
libostree: Nearly complete move of API into OstreeSysroot
Move the deployment code too.
Diffstat (limited to 'src/ostree/ot-admin-builtin-diff.c')
-rw-r--r--src/ostree/ot-admin-builtin-diff.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/ostree/ot-admin-builtin-diff.c b/src/ostree/ot-admin-builtin-diff.c
index 802fb177..88e3717e 100644
--- a/src/ostree/ot-admin-builtin-diff.c
+++ b/src/ostree/ot-admin-builtin-diff.c
@@ -68,14 +68,14 @@ ot_admin_builtin_diff (int argc, char **argv, OstreeSysroot *sysroot, GCancellab
goto out;
}
- if (!ot_admin_require_deployment_or_osname (ostree_sysroot_get_path (sysroot), deployments,
- opt_osname, &deployment,
- cancellable, error))
+ if (!ostree_sysroot_require_deployment_or_osname (sysroot, deployments,
+ opt_osname, &deployment,
+ cancellable, error))
goto out;
if (deployment != NULL)
opt_osname = (char*)ostree_deployment_get_osname (deployment);
if (deployment == NULL)
- deployment = ot_admin_get_merge_deployment (deployments, opt_osname, deployment);
+ deployment = ostree_sysroot_get_merge_deployment (deployments, opt_osname, deployment);
if (deployment == NULL)
{
g_set_error (error, G_IO_ERROR, G_IO_ERROR_NOT_FOUND,