diff options
| author | Sheldon Hearn <sheldonh@FreeBSD.org> | 2000-07-28 11:54:09 +0000 |
|---|---|---|
| committer | Sheldon Hearn <sheldonh@FreeBSD.org> | 2000-07-28 11:54:09 +0000 |
| commit | 1b2fbe6ff9e565c9a7dd936b01ea64045c0cc0f6 (patch) | |
| tree | 89da9842b82acd9c8834fdd9e52486119dc662da /sbin/mount_null/mount_null.c | |
| parent | 1fb2276093cc2616443ab9b785d8bccc2d0319c0 (diff) | |
Notes
Diffstat (limited to 'sbin/mount_null/mount_null.c')
| -rw-r--r-- | sbin/mount_null/mount_null.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sbin/mount_null/mount_null.c b/sbin/mount_null/mount_null.c index cf6120863bac..d38e7e36d57f 100644 --- a/sbin/mount_null/mount_null.c +++ b/sbin/mount_null/mount_null.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"); |
