summaryrefslogtreecommitdiff
path: root/src/c/multifasta_to_otu.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/c/multifasta_to_otu.c')
-rw-r--r--src/c/multifasta_to_otu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/c/multifasta_to_otu.c b/src/c/multifasta_to_otu.c
index e0fb128..01a4f0e 100644
--- a/src/c/multifasta_to_otu.c
+++ b/src/c/multifasta_to_otu.c
@@ -144,7 +144,7 @@ int main(int argc, char **argv) {
}
input_directory_dh = opendir(input_fasta_directory);
- if(input_fasta_directory == NULL) {
+ if(input_directory_dh == NULL) {
fprintf(stderr, "could not open %s\n", input_fasta_directory);
exit(EXIT_FAILURE);
}