summaryrefslogtreecommitdiffstats
path: root/sbin/mount_nullfs
diff options
context:
space:
mode:
authorsheldonh <sheldonh@FreeBSD.org>2000-07-28 11:54:09 +0000
committersheldonh <sheldonh@FreeBSD.org>2000-07-28 11:54:09 +0000
commiteba01e2cbc14120e72f7408486af2a08cb5e7749 (patch)
tree244d0553ee77d89655427692aad20e5f907d8da6 /sbin/mount_nullfs
parentdd73d75cd10a7d9ad861c74d367639da92b1c29d (diff)
downloadFreeBSD-src-eba01e2cbc14120e72f7408486af2a08cb5e7749.zip
FreeBSD-src-eba01e2cbc14120e72f7408486af2a08cb5e7749.tar.gz
Rename the loadable nullfs kernel module: null -> nullfs
Diffstat (limited to 'sbin/mount_nullfs')
-rw-r--r--sbin/mount_nullfs/mount_nullfs.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/sbin/mount_nullfs/mount_nullfs.c b/sbin/mount_nullfs/mount_nullfs.c
index cf61208..d38e7e3 100644
--- a/sbin/mount_nullfs/mount_nullfs.c
+++ b/sbin/mount_nullfs/mount_nullfs.c
@@ -107,12 +107,12 @@ main(argc, argv)
args.target = target;
- error = getvfsbyname("null", &vfc);
- if (error && vfsisloadable("null")) {
- if(vfsload("null"))
- err(EX_OSERR, "vfsload(null)");
+ error = getvfsbyname("nullfs", &vfc);
+ if (error && vfsisloadable("nullfs")) {
+ if(vfsload("nullfs"))
+ err(EX_OSERR, "vfsload(nullfs)");
endvfsent();
- error = getvfsbyname("null", &vfc);
+ error = getvfsbyname("nullfs", &vfc);
}
if (error)
errx(EX_OSERR, "null/loopback filesystem is not available");
OpenPOWER on IntegriCloud