diff options
Diffstat (limited to 'cmds-filesystem.c')
-rw-r--r-- | cmds-filesystem.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cmds-filesystem.c b/cmds-filesystem.c index ccf89c6..dcd3f47 100644 --- a/cmds-filesystem.c +++ b/cmds-filesystem.c @@ -1270,6 +1270,7 @@ static int cmd_resize(int argc, char **argv) } printf("Resize '%s' of '%s'\n", path, amount); + memset(&args, 0, sizeof(args)); strncpy_null(args.name, amount); res = ioctl(fd, BTRFS_IOC_RESIZE, &args); e = errno; |