summaryrefslogtreecommitdiff
path: root/sbin/mount_ext2fs/mount_ext2fs.c
diff options
context:
space:
mode:
Diffstat (limited to 'sbin/mount_ext2fs/mount_ext2fs.c')
-rw-r--r--sbin/mount_ext2fs/mount_ext2fs.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sbin/mount_ext2fs/mount_ext2fs.c b/sbin/mount_ext2fs/mount_ext2fs.c
index e4e179ecaf1..30fd4821d51 100644
--- a/sbin/mount_ext2fs/mount_ext2fs.c
+++ b/sbin/mount_ext2fs/mount_ext2fs.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mount_ext2fs.c,v 1.12 2003/07/03 22:41:40 tedu Exp $ */
+/* $OpenBSD: mount_ext2fs.c,v 1.13 2005/04/08 20:09:36 jaredy Exp $ */
/* $NetBSD: mount_ffs.c,v 1.3 1996/04/13 01:31:19 jtc Exp $ */
/*-
@@ -40,7 +40,7 @@ static char copyright[] =
#if 0
static char sccsid[] = "@(#)mount_ufs.c 8.2 (Berkeley) 3/27/94";
#else
-static char rcsid[] = "$OpenBSD: mount_ext2fs.c,v 1.12 2003/07/03 22:41:40 tedu Exp $";
+static char rcsid[] = "$OpenBSD: mount_ext2fs.c,v 1.13 2005/04/08 20:09:36 jaredy Exp $";
#endif
#endif /* not lint */
@@ -90,7 +90,7 @@ main(int argc, char *argv[])
args.fspec = argv[0]; /* The name of the device file. */
if (realpath(argv[1], fs_name) == NULL) /* The mount point. */
- err(1, "realpath %s", fs_name);
+ err(1, "realpath %s", argv[1]);
#define DEFAULT_ROOTUID -2
args.export_info.ex_root = DEFAULT_ROOTUID;