Date: Sun, 11 Aug 2002 04:32:02 -0700 (PDT) From: Maxime Henrion <mux@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sbin/nfsiod nfsiod.c Message-ID: <200208111132.g7BBW2sU058056@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
mux 2002/08/11 04:32:02 PDT
Modified files:
sbin/nfsiod nfsiod.c
Log:
The kldload() system call doesn't return 0 when it succeeded,
so compare the return value against -1 to see if it failed
instead of simply doing if (kldload("nfs")).
Revision Changes Path
1.14 +1 -1 src/sbin/nfsiod/nfsiod.c
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200208111132.g7BBW2sU058056>
