diff options
-rw-r--r-- | src/muon.c | 2 | ||||
-rw-r--r-- | src/pmt.c | 2 | ||||
-rw-r--r-- | src/quantum_efficiency.c | 2 | ||||
-rw-r--r-- | src/zebra.c | 2 |
4 files changed, 4 insertions, 4 deletions
@@ -48,7 +48,7 @@ static int init() FILE *f = fopen("muE_deuterium_oxide_liquid.txt", "r"); if (!f) { - fprintf(stderr, "failed to open muE_water_liquid.txt: %s", strerror(errno)); + fprintf(stderr, "failed to open muE_water_liquid.txt: %s\n", strerror(errno)); return -1; } @@ -20,7 +20,7 @@ int load_pmt_info() FILE *f = fopen("pmt.txt", "r"); if (!f) { - fprintf(stderr, "failed to open pmt.txt: %s", strerror(errno)); + fprintf(stderr, "failed to open pmt.txt: %s\n", strerror(errno)); return -1; } diff --git a/src/quantum_efficiency.c b/src/quantum_efficiency.c index eed64c5..a5571ab 100644 --- a/src/quantum_efficiency.c +++ b/src/quantum_efficiency.c @@ -20,7 +20,7 @@ static int init() FILE *f = fopen("pmt_pcath_response.dat", "r"); if (!f) { - fprintf(stderr, "failed to open pmt_pcath_response.dat: %s", strerror(errno)); + fprintf(stderr, "failed to open pmt_pcath_response.dat: %s\n", strerror(errno)); return -1; } diff --git a/src/zebra.c b/src/zebra.c index 4ce51a2..aacf1ef 100644 --- a/src/zebra.c +++ b/src/zebra.c @@ -13,7 +13,7 @@ zebraFile *zebra_open(const char *filename) FILE *f = fopen(filename, "r"); if (!f) { - sprintf(zebra_err, "failed to open '%s': %s", filename, strerror(errno)); + sprintf(zebra_err, "failed to open '%s': %s\n", filename, strerror(errno)); return NULL; } |