aboutsummaryrefslogtreecommitdiff
path: root/sbin/mount_nullfs
diff options
context:
space:
mode:
authorSheldon Hearn <sheldonh@FreeBSD.org>2000-07-28 11:54:09 +0000
committerSheldon Hearn <sheldonh@FreeBSD.org>2000-07-28 11:54:09 +0000
commit1b2fbe6ff9e565c9a7dd936b01ea64045c0cc0f6 (patch)
tree89da9842b82acd9c8834fdd9e52486119dc662da /sbin/mount_nullfs
parent1fb2276093cc2616443ab9b785d8bccc2d0319c0 (diff)
downloadsrc-1b2fbe6ff9e565c9a7dd936b01ea64045c0cc0f6.tar.gz
src-1b2fbe6ff9e565c9a7dd936b01ea64045c0cc0f6.zip
Rename the loadable nullfs kernel module: null -> nullfs
Notes
Notes: svn path=/head/; revision=63962
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 cf6120863bac..d38e7e36d57f 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");