summaryrefslogtreecommitdiff
path: root/sbin/mount_xfs/mount_xfs.c
diff options
context:
space:
mode:
Diffstat (limited to 'sbin/mount_xfs/mount_xfs.c')
-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 f1c17a6a1e0..fba1b8481e0 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.7 2003/07/03 22:41:40 tedu Exp $ */
+/* $OpenBSD: mount_xfs.c,v 1.8 2005/04/08 20:09:38 jaredy Exp $ */
/*
* Copyright (c) 1995, 1996, 1997 Kungliga Tekniska Högskolan
* (Royal Institute of Technology, Stockholm, Sweden).
@@ -92,7 +92,7 @@ main(int argc, char **argv)
usage();
if (realpath(argv[1], path) == NULL)
- err(1, "realpath %s", path);
+ err(1, "realpath %s", argv[1]);
if (mount(MOUNT_XFS, path, mntflags, argv[0])) {
if (errno == EOPNOTSUPP)