diff options
author | 1998-12-21 14:19:42 +0000 | |
---|---|---|
committer | 1998-12-21 14:19:42 +0000 | |
commit | 47dbf02af720f1668aaf9c63642d31b714dd3adf (patch) | |
tree | 3d8c7f87ffb6dc0dd39d647e48a010969292c721 | |
parent | document EOPNOTSUPP (diff) | |
download | wireguard-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.c | 4 |
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 |