summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorart <art@openbsd.org>1998-12-21 14:19:42 +0000
committerart <art@openbsd.org>1998-12-21 14:19:42 +0000
commit47dbf02af720f1668aaf9c63642d31b714dd3adf (patch)
tree3d8c7f87ffb6dc0dd39d647e48a010969292c721
parentdocument EOPNOTSUPP (diff)
downloadwireguard-openbsd-47dbf02af720f1668aaf9c63642d31b714dd3adf.tar.xz
wireguard-openbsd-47dbf02af720f1668aaf9c63642d31b714dd3adf.zip
use MOUNT_XFS, not "xfs" as the type of filesystem to mount
-rw-r--r--sbin/mount_xfs/mount_xfs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/mount_xfs/mount_xfs.c b/sbin/mount_xfs/mount_xfs.c
index 33db3bcda50..3aeb2029ea2 100644
--- a/sbin/mount_xfs/mount_xfs.c
+++ b/sbin/mount_xfs/mount_xfs.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mount_xfs.c,v 1.4 1998/12/21 13:45:33 art Exp $ */
+/* $OpenBSD: mount_xfs.c,v 1.5 1998/12/21 14:19:42 art Exp $ */
/*
* Copyright (c) 1995, 1996, 1997 Kungliga Tekniska Högskolan
* (Royal Institute of Technology, Stockholm, Sweden).
@@ -91,7 +91,7 @@ main(int argc, char **argv)
if (argc != 2)
usage();
- if (mount("xfs", argv[1], mntflags, argv[0])) {
+ if (mount(MOUNT_XFS, argv[1], mntflags, argv[0])) {
if (errno == EOPNOTSUPP)
errx(1, "Filesystem not supported by kernel");
else