aboutsummaryrefslogtreecommitdiff
path: root/toys/other
diff options
context:
space:
mode:
Diffstat (limited to 'toys/other')
-rw-r--r--toys/other/losetup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/toys/other/losetup.c b/toys/other/losetup.c
index b455f355..d279c2ad 100644
--- a/toys/other/losetup.c
+++ b/toys/other/losetup.c
@@ -61,7 +61,7 @@ todo: basic /dev file association
static void loopback_setup(char *device, char *file)
{
struct loop_info64 *loop = (void *)(toybuf+32);
- int lfd = -1, ffd;
+ int lfd = -1, ffd = ffd;
unsigned flags = toys.optflags;
// Open file (ffd) and loop device (lfd)