variable, and directly check the result of getfscreatecon().
* lib/gshdow.c: list() is an external function. DO not shadow it
with a static function. The internal list() was renamed
build_list().
+ * lib/commonio.c: stat shadows another stat variable. Remove this
+ variable, and directly check the result of getfscreatecon().
2008-01-01 Nicolas François <nicolas.francois@centraliens.net>
}
#ifdef WITH_SELINUX
if (db->scontext != NULL) {
- int stat = getfscreatecon (&old_context);
-
- if (stat < 0) {
+ if (getfscreatecon (&old_context) < 0) {
errors++;
goto fail;
}