aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLasse Collin <lasse.collin@tukaani.org>2009-02-01 00:11:20 +0200
committerLasse Collin <lasse.collin@tukaani.org>2009-02-01 00:11:20 +0200
commit3e54ecee5cad30a5ca361a88a99230407abc0699 (patch)
treee7b83ab1f2610d9a63154e23a21c1f12d9f60573
parentUse __cdecl also for function pointers in liblzma API when (diff)
downloadxz-3e54ecee5cad30a5ca361a88a99230407abc0699.tar.xz
Fix missing newlines in xzdec.c.
-rw-r--r--src/xzdec/xzdec.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/xzdec/xzdec.c b/src/xzdec/xzdec.c
index a9deaa3a..c17b5790 100644
--- a/src/xzdec/xzdec.c
+++ b/src/xzdec/xzdec.c
@@ -135,7 +135,7 @@ str_to_uint64(const char *value)
uint64_t result = 0;
if (*value < '0' || *value > '9') {
- fprintf(stderr, "%s: %s: Not a number", argv0, value);
+ fprintf(stderr, "%s: %s: Not a number\n", argv0, value);
exit(EXIT_FAILURE);
}
@@ -178,7 +178,7 @@ str_to_uint64(const char *value)
}
if (multiplier == 0) {
- fprintf(stderr, "%s: %s: Invalid suffix",
+ fprintf(stderr, "%s: %s: Invalid suffix\n",
argv0, value);
exit(EXIT_FAILURE);
}
@@ -380,7 +380,7 @@ uncompress(lzma_stream *strm, FILE *file, const char *filename)
break;
}
- fprintf(stderr, "%s: %s: %s", argv0, filename, msg);
+ fprintf(stderr, "%s: %s: %s\n", argv0, filename, msg);
exit(EXIT_FAILURE);
}