diff options
author | des <des@FreeBSD.org> | 2004-02-22 16:45:21 +0000 |
---|---|---|
committer | des <des@FreeBSD.org> | 2004-02-22 16:45:21 +0000 |
commit | 03f2963fdc806691158a8a21b797b34ad68aa5a2 (patch) | |
tree | 44d284a2c466a1cafe814e06201e63e2ccb00349 /tools | |
parent | 1a5b1baf32c497f1f1662a30086a8ea581567739 (diff) | |
download | FreeBSD-src-03f2963fdc806691158a8a21b797b34ad68aa5a2.zip FreeBSD-src-03f2963fdc806691158a8a21b797b34ad68aa5a2.tar.gz |
Fix some cosmetic issues in warning and error messages.
Diffstat (limited to 'tools')
-rw-r--r-- | tools/tools/tinderbox/tinderbox.pl | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tools/tools/tinderbox/tinderbox.pl b/tools/tools/tinderbox/tinderbox.pl index 1bb7f92..55f25b7 100644 --- a/tools/tools/tinderbox/tinderbox.pl +++ b/tools/tools/tinderbox/tinderbox.pl @@ -66,14 +66,14 @@ my %cmds = ( sub message(@) { - my $msg = join(' ', "TB ---", @_); + my $msg = join(' ', @_); chomp($msg); - print("$msg\n"); + warn("$msg\n"); } sub warning(@) { - my $msg = join(' ', "TB ---", @_); + my $msg = join(' ', "WARNING:", @_); chomp($msg); warn("$msg\n"); return undef; @@ -81,7 +81,7 @@ sub warning(@) { sub error(@) { - my $msg = join(' ', "TB ---", "ERROR:", @_); + my $msg = join(' ', "ERROR:", @_); chomp($msg); die("$msg\n"); return undef; @@ -554,7 +554,7 @@ MAIN:{ or error("failed to generate LINT kernel config"); } if (! -f "$sandbox/src/sys/$machine/conf/LINT") { - warning("no LINT kernel config, skipping LINT kernel"); + warning("no kernel config for LINT"); $cmds{'lint'} = 0; } } |