summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>1995-12-26 18:15:34 +0000
committerderaadt <deraadt@openbsd.org>1995-12-26 18:15:34 +0000
commit20399b6fa99d1952d9278196c6d27045bf73df9a (patch)
treec7e7ba0c5fbcfd48958ae2f4d0542cc1a13e11c7
parentfrom netbsd: (diff)
downloadwireguard-openbsd-20399b6fa99d1952d9278196c6d27045bf73df9a.tar.xz
wireguard-openbsd-20399b6fa99d1952d9278196c6d27045bf73df9a.zip
from netbsd; deal with ufs -> ffs transition
-rw-r--r--sys/arch/alpha/stand/installboot.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/alpha/stand/installboot.c b/sys/arch/alpha/stand/installboot.c
index b0eb593395e..ce5e592d656 100644
--- a/sys/arch/alpha/stand/installboot.c
+++ b/sys/arch/alpha/stand/installboot.c
@@ -1,4 +1,4 @@
-/* $NetBSD: installboot.c,v 1.1 1995/11/23 02:39:02 cgd Exp $ */
+/* $NetBSD: installboot.c,v 1.2 1995/12/20 00:17:49 cgd Exp $ */
/*
* Copyright (c) 1994 Paul Kranenburg
@@ -301,8 +301,8 @@ 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, MOUNT_FFS, MFSNAMELEN))
+ errx(1, "%s: must be on a FFS filesystem", boot);
if (fsync(fd) != 0)
err(1, "fsync: %s", boot);