libglnx: bump and use new helper methods

Update submodule: libglnx

Closes: #857
Approved by: cgwalters
This commit is contained in:
Jonathan Lebon authored and Atomic Bot committed 2017-05-12 21:02:16 +00:00
1 parent 5811d4e8a3
commit 23c60cda22
10 files changed
+16 -16

No files matched your search

+2 -2
View File
@@ -459,7 +459,7 @@ _ostree_sysroot_read_boot_loader_configs (OstreeSysroot *self,
glnx_unref_object OstreeBootconfigParser *config = ostree_bootconfig_parser_new ();
if (!ostree_bootconfig_parser_parse_at (config, dfd_iter.fd, dent->d_name, cancellable, error))
return g_prefix_error (error, "Parsing %s: ", dent->d_name), FALSE;
return glnx_prefix_error (error, "Parsing %s", dent->d_name);
g_ptr_array_add (ret_loader_configs, g_object_ref (config));
}
@@ -533,7 +533,7 @@ parse_origin (OstreeSysroot *self,
return FALSE;
if (!g_key_file_load_from_data (ret_origin, origin_contents, -1, 0, error))
return g_prefix_error (error, "Parsing %s: ", origin_path), FALSE;
return glnx_prefix_error (error, "Parsing %s", origin_path);
}
ot_transfer_out_value(out_origin, &ret_origin);