mirror of
https://git.proxmox.com/git/mirror_lxc
synced 2025-08-06 08:39:22 +00:00
Fix typo I introduced in the bdev change.
When adding the missing return value in Caglar's change (as discussed on the mailing-list), I set err = -1 instead or ret = -1, causing an obvious build failure... Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
This commit is contained in:
parent
385e8e8caa
commit
e27141fa26
@ -1365,7 +1365,7 @@ static int btrfs_same_fs(const char *orig, const char *new) {
|
||||
fd_new = open(new, O_RDONLY);
|
||||
if (fd_new < 0) {
|
||||
SYSERROR("Error opening new container dir %s", new);
|
||||
err = -1;
|
||||
ret = -1;
|
||||
goto out;
|
||||
}
|
||||
ret = ioctl(fd_new, BTRFS_IOC_FS_INFO, &new_args);
|
||||
|
Loading…
Reference in New Issue
Block a user