I can't recall anymore what exactly I did to have tests using t_mtab to fail, but nevertheless this commit adds the proper newlines. Signed-off-by: Tuomas Tynkkynen <tuomas.tynkkynen@xxxxxx> --- src/t_mtab.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/t_mtab.c b/src/t_mtab.c index 9bca9543..5e9d5216 100644 --- a/src/t_mtab.c +++ b/src/t_mtab.c @@ -34,7 +34,7 @@ static int signals_have_been_setup = 0; /* Ensure that the lock is released if we are interrupted. */ static void handler (int sig) { - fprintf(stderr, "%s", sys_siglist[sig]); + fprintf(stderr, "%s\n", sys_siglist[sig]); exit(1); } @@ -99,7 +99,7 @@ lock_mtab (void) { Too many files open in the system? Filesystem full? */ fprintf(stderr, "can't create lock file %s: %s " - "(use -n flag to override)", + "(use -n flag to override)\n", linktargetfile, strerror (errsv)); exit(1); } @@ -112,7 +112,7 @@ lock_mtab (void) { if (j < 0 && errsv != EEXIST) { fprintf(stderr, "can't link lock file %s: %s " - "(use -n flag to override)", + "(use -n flag to override)\n", mounted_lock, strerror (errsv)); exit(1); } @@ -157,7 +157,7 @@ lock_mtab (void) { if (fcntl (fd, F_SETLKW, &flock) == -1 && errno != EBUSY && errno != EAGAIN) { int errsv = errno; - fprintf(stderr, "can't lock lock file %s: %s", + fprintf(stderr, "can't lock lock file %s: %s\n", mounted_lock, (errno == EINTR) ? _("timed out") : strerror (errsv)); exit(1); -- 2.13.0 -- To unsubscribe from this list: send the line "unsubscribe fstests" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html