ufs ==> ffs

This commit is contained in:
gwr 1995-11-07 23:01:40 +00:00
parent dd962ebbf6
commit 3c996d6b06
1 changed files with 5 additions and 3 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: installboot.c,v 1.3 1995/09/23 03:40:28 gwr Exp $ */
/* $NetBSD: installboot.c,v 1.4 1995/11/07 23:01:40 gwr Exp $ */
/*
* Copyright (c) 1994 Paul Kranenburg
@ -298,8 +298,10 @@ int devfd;
if (fstatfs(fd, &statfsbuf) != 0)
err(1, "statfs: %s", boot);
if (strncmp(statfsbuf.f_fstypename, "ufs", MFSNAMELEN))
errx(1, "%s: must be on a UFS filesystem", boot);
if (strncmp(statfsbuf.f_fstypename, "ffs", MFSNAMELEN) &&
strncmp(statfsbuf.f_fstypename, "ufs", MFSNAMELEN) ) {
errx(1, "%s: must be on an FFS filesystem", boot);
}
if (fsync(fd) != 0)
err(1, "fsync: %s", boot);