]> git.donarmstrong.com Git - samtools.git/blobdiff - bcftools/bcf.c
fixed a typo
[samtools.git] / bcftools / bcf.c
index bdc0a5eef5a4321805533f657ec7d0e610366eec..fd5c0c9ae24971f15168f488452afe2077258dd0 100644 (file)
@@ -14,7 +14,7 @@ bcf_t *bcf_open(const char *fn, const char *mode)
                b->fp = strcmp(fn, "-")? bgzf_open(fn, mode) : bgzf_fdopen(fileno(stdin), mode);
        }
 #ifndef BCF_LITE
-       b->fp->ownede_file = 1;
+       b->fp->owned_file = 1;
 #endif
        return b;
 }