tree-wide: use -EBADF more
This commit is contained in:
+1
-1
@@ -526,7 +526,7 @@ static int hardlink_context_setup(
|
||||
const char *to,
|
||||
CopyFlags copy_flags) {
|
||||
|
||||
_cleanup_close_ int dt_copy = -1;
|
||||
_cleanup_close_ int dt_copy = -EBADF;
|
||||
int r;
|
||||
|
||||
assert(c);
|
||||
|
||||
@@ -683,7 +683,7 @@ int loop_device_make_by_path_memory(
|
||||
}
|
||||
|
||||
static LoopDevice* loop_device_free(LoopDevice *d) {
|
||||
_cleanup_close_ int control = -1;
|
||||
_cleanup_close_ int control = -EBADF;
|
||||
int r;
|
||||
|
||||
if (!d)
|
||||
|
||||
Reference in New Issue
Block a user