summaryrefslogtreecommitdiff
path: root/sbin
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>1998-12-21 14:19:43 +0000
committerArtur Grabowski <art@cvs.openbsd.org>1998-12-21 14:19:43 +0000
commit141d59bf6c58959c553613b9b68bded1640fe8f2 (patch)
tree27ca2523c65eecaec7bee11655f96865bb9e2471 /sbin
parentb616662fd9c707c5cacde2b0bf89aa900c117c5e (diff)
use MOUNT_XFS, not "xfs" as the type of filesystem to mount
Diffstat (limited to 'sbin')
-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