diff options
author | peter <peter@FreeBSD.org> | 2000-06-26 09:08:23 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 2000-06-26 09:08:23 +0000 |
commit | 358ae698cb54498b21d5c879f71916c674991551 (patch) | |
tree | b4a7eb0fc6918cb3a13a910f16c42ef9199aaf22 /sys/pc98/conf | |
parent | 9932b959ce7fbfc32260f3b195fbb2cd88caf14d (diff) | |
download | FreeBSD-src-358ae698cb54498b21d5c879f71916c674991551.zip FreeBSD-src-358ae698cb54498b21d5c879f71916c674991551.tar.gz |
Report the line number where gethints.pl does not understand something
in an old device line.
Diffstat (limited to 'sys/pc98/conf')
-rw-r--r-- | sys/pc98/conf/gethints.pl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/pc98/conf/gethints.pl b/sys/pc98/conf/gethints.pl index b385ed0..684d5b2 100644 --- a/sys/pc98/conf/gethints.pl +++ b/sys/pc98/conf/gethints.pl @@ -9,6 +9,7 @@ # $FreeBSD$ while (<>) { + $line++; chop; s/#.*//; next unless /^device/; @@ -87,6 +88,6 @@ while (<>) { } next; } - print STDERR "unrecognized config token $key\n"; + print STDERR "unrecognized config token '$key' on line $line\n"; } } |