diff options
author | phk <phk@FreeBSD.org> | 1999-05-16 08:09:23 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 1999-05-16 08:09:23 +0000 |
commit | 0502f4560fa4143def5e2e38b4d13bb6189ef487 (patch) | |
tree | 661d03362bc7503fd9dd38fccaf3dacf23dc4ecf /usr.sbin/vnconfig | |
parent | b72d5cc0d29ae47c049c1d772fe2ee022e410eeb (diff) | |
download | FreeBSD-src-0502f4560fa4143def5e2e38b4d13bb6189ef487.zip FreeBSD-src-0502f4560fa4143def5e2e38b4d13bb6189ef487.tar.gz |
Turn an error into a warning. If running a 4.x binary on a 3.x system
we may still have vn in the kernel but not be able to see it.
This enables building -current SNAPS in a chroot on a -stable system
Diffstat (limited to 'usr.sbin/vnconfig')
-rw-r--r-- | usr.sbin/vnconfig/vnconfig.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/vnconfig/vnconfig.c b/usr.sbin/vnconfig/vnconfig.c index 311c08b..49b2c2c 100644 --- a/usr.sbin/vnconfig/vnconfig.c +++ b/usr.sbin/vnconfig/vnconfig.c @@ -43,7 +43,7 @@ static char sccsid[] = "@(#)vnconfig.c 8.1 (Berkeley) 12/15/93"; #endif static const char rcsid[] = - "$Id: vnconfig.c,v 1.8 1999/01/26 04:53:09 peter Exp $"; + "$Id: vnconfig.c,v 1.9 1999/03/14 09:20:01 julian Exp $"; #endif /* not lint */ #include <err.h> @@ -186,7 +186,7 @@ main(argc, argv) if (modfind("vn") < 0) if (kldload("vn") < 0 || modfind("vn") < 0) - err(1, "cannot find or load \"vn\" kernel module"); + warnx( "cannot find or load \"vn\" kernel module"); if (flags == 0) flags = VN_CONFIG; |