]> git.sesse.net Git - bcachefs-tools-debian/blobdiff - cmd_attr.c
Fix makefile for building docs
[bcachefs-tools-debian] / cmd_attr.c
index a3c821241b7443a140583b36ddc186f36ad668b3..736554c76383f646c6194a85f301f0c70fe8e25f 100644 (file)
@@ -80,7 +80,7 @@ static void do_setattr(char *path, struct bch_opt_strs opts)
 
 static void setattr_usage(void)
 {
-       puts("bcachefs setattr - set attributes on files in a bcachefs filessytem\n"
+       puts("bcachefs setattr - set attributes on files in a bcachefs filesystem\n"
             "Usage: bcachefs setattr [OPTIONS]... <files>\n"
             "\n"
             "Options:");
@@ -108,6 +108,7 @@ int cmd_setattr(int argc, char *argv[])
 
        for (i = 1; i < argc; i++)
                do_setattr(argv[i], opts);
+       bch2_opt_strs_free(&opts);
 
        return 0;
 }