From 0502f4560fa4143def5e2e38b4d13bb6189ef487 Mon Sep 17 00:00:00 2001 From: phk Date: Sun, 16 May 1999 08:09:23 +0000 Subject: 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 --- usr.sbin/vnconfig/vnconfig.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'usr.sbin/vnconfig') 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 @@ -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; -- cgit v1.1