]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
In printfile(), exit the process instead of only printing the warning.
authorKonstantin Belousov <kib@FreeBSD.org>
Sat, 13 Nov 2010 16:49:07 +0000 (16:49 +0000)
committerKonstantin Belousov <kib@FreeBSD.org>
Sat, 13 Nov 2010 16:49:07 +0000 (16:49 +0000)
commit35e3987f1526116cd72b86d8c9d6589f03ed8970
treeec348434ab1bb2dfd38f1ca2b269f5f2cfebcac3
parentdb28020476b985ec73ae3da99c306b11950eb575
In printfile(), exit the process instead of only printing the warning.
This fixes verbose mode when either -i specified non-existent kldfile
id, or the file was unloaded between two kldnext(2) calls.

While there, fix printfile() definition to be style(9)-compliant.

Submitted by: arundel
MFC after: 1 week
sbin/kldstat/kldstat.c