aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authororbitz <orbitz@gmail.com>2013-12-29 12:57:17 +0100
committerorbitz <orbitz@gmail.com>2013-12-29 12:57:17 +0100
commit49e5201329543b1c0fdb3ab986118077a8e9f2a4 (patch)
tree13c0c9ff056a2433b24b5ea0831f8dcbd47a7995
parentdc28e82e7426b6988bfad20ee60f248599633b54 (diff)
Flip impossible ordering
-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);
}
}