diff options
Diffstat (limited to 'src/shared/btrfs-util.c')
-rw-r--r-- | src/shared/btrfs-util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/btrfs-util.c b/src/shared/btrfs-util.c index 62b1eff6ae..a95cb8394f 100644 --- a/src/shared/btrfs-util.c +++ b/src/shared/btrfs-util.c @@ -717,7 +717,7 @@ int btrfs_resize_loopback_fd(int fd, uint64_t new_size, bool grow_only) { _cleanup_free_ char *p = NULL, *loop = NULL, *backing = NULL; _cleanup_close_ int loop_fd = -1, backing_fd = -1; struct stat st; - dev_t dev; + dev_t dev = 0; int r; /* btrfs cannot handle file systems < 16M, hence use this as minimum */ |