summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2003-02-18 12:50:37 +0000
committerdes <des@FreeBSD.org>2003-02-18 12:50:37 +0000
commit6082d8705b68f88bdc0970a55dc6d70b772c9655 (patch)
tree1f4e38c09448e49ce9371d901a19c155fc43796e /tools
parent438c5f3164b7c4a1fba730e9e94ecb843978d025 (diff)
downloadFreeBSD-src-6082d8705b68f88bdc0970a55dc6d70b772c9655.zip
FreeBSD-src-6082d8705b68f88bdc0970a55dc6d70b772c9655.tar.gz
Properly terminate some warning messages.
Diffstat (limited to 'tools')
-rw-r--r--tools/tools/tinderbox/tbmaster.pl6
-rw-r--r--tools/tools/tinderbox/tinderbox.pl6
2 files changed, 6 insertions, 6 deletions
diff --git a/tools/tools/tinderbox/tbmaster.pl b/tools/tools/tinderbox/tbmaster.pl
index e7a4419..5cb8d6d 100644
--- a/tools/tools/tinderbox/tbmaster.pl
+++ b/tools/tools/tinderbox/tbmaster.pl
@@ -185,12 +185,12 @@ sub tinderbox($$$) {
# Done...
if (waitpid($pid, 0) == -1) {
- warn("waitpid(): $!");
+ warn("waitpid(): $!\n");
} elsif ($? & 0xff) {
- warn("tinderbox caught signal ", $? & 0x7f);
+ warn("tinderbox caught signal ", $? & 0x7f, "\n");
$error = 1;
} elsif ($? >> 8) {
- warn("tinderbox returned exit code ", $? >> 8);
+ warn("tinderbox returned exit code ", $? >> 8, "\n");
$error = 1;
}
diff --git a/tools/tools/tinderbox/tinderbox.pl b/tools/tools/tinderbox/tinderbox.pl
index 42ced6c..bea8d3a 100644
--- a/tools/tools/tinderbox/tinderbox.pl
+++ b/tools/tools/tinderbox/tinderbox.pl
@@ -188,11 +188,11 @@ sub spawn($@) {
die("child: exec(): $!\n");
}
if (waitpid($pid, 0) == -1) {
- return warning("waitpid(): $!");
+ return warning("waitpid(): $!\n");
} elsif ($? & 0xff) {
- return warning("$cmd caught signal", $? & 0x7f);
+ return warning("$cmd caught signal ", $? & 0x7f, "\n");
} elsif ($? >> 8) {
- return warning("$cmd returned exit code", $? >> 8);
+ return warning("$cmd returned exit code ", $? >> 8, "\n");
}
return 1;
}
OpenPOWER on IntegriCloud