mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-12 14:29:28 +00:00
Print correct message if the wrong module is loaded.
This commit is contained in:
parent
7a4bec173b
commit
170cfb0311
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=44959
@ -120,7 +120,7 @@ main(int argc, char *argv[])
|
||||
{
|
||||
#if __FreeBSD__ >= 3
|
||||
if (modfind(WRONGMOD) >= 0) { /* wrong module loaded, */
|
||||
fprintf(stderr, "Wrong module loaded: %s. Please start %s.\n", WRONGMOD, WRONGMOD);
|
||||
fprintf(stderr, "Wrong module loaded: %s. Please start %s.\n", VINUMMOD, WRONGMOD);
|
||||
exit(1);
|
||||
}
|
||||
if (modfind(VINUMMOD) < 0) {
|
||||
|
Loading…
Reference in New Issue
Block a user