Port to libgsystem errno API, hard depend on 2014.3

This is long overdue to make it to libgsystem.  Update our dependency.
This commit is contained in:
Colin Walters committed 2015-01-04 21:17:11 -05:00
1 parent 1bcc7a8e3a
commit 1e8e070102
13 files changed
+71 -84

No files matched your search

+2 -2
View File
@@ -347,7 +347,7 @@ ostree_sepolicy_get_label (OstreeSePolicy *self,
int errsv = errno;
if (errsv != ENOENT)
{
ot_util_set_error_from_errno (error, errsv);
gs_set_error_from_errno (error, errsv);
goto out;
}
}
@@ -440,7 +440,7 @@ ostree_sepolicy_restorecon (OstreeSePolicy *self,
int res = lsetfilecon (gs_file_get_path_cached (target), label);
if (res != 0)
{
ot_util_set_error_from_errno (error, errno);
gs_set_error_from_errno (error, errno);
goto out;
}
}