aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--kmer_utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kmer_utils.c b/kmer_utils.c
index 53b4882..cd9d2a9 100644
--- a/kmer_utils.c
+++ b/kmer_utils.c
@@ -157,8 +157,8 @@ unsigned long long *kmer_counts_from_file(FILE *fh, const unsigned int kmer) {
if(start_len + 1 > str_size + 1) {
str = realloc(str, start_len + 1);
if(str == NULL) {
- exit(EXIT_FAILURE);
fprintf(stderr, strerror(errno));
+ exit(EXIT_FAILURE);
}
}