aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDoug Rabson <dfr@FreeBSD.org>1997-05-23 17:07:00 +0000
committerDoug Rabson <dfr@FreeBSD.org>1997-05-23 17:07:00 +0000
commit9c63729513ba84c7a26d925071d8bf27709df69d (patch)
tree7658292f1340a92af2ff1d31cdfe4013a4ed753a
parent4aab40db6c8da1cf733aac2666c376573fedd368 (diff)
downloadsrc-9c63729513ba84c7a26d925071d8bf27709df69d.tar.gz
src-9c63729513ba84c7a26d925071d8bf27709df69d.zip
Typo in previous change.
Notes
Notes: svn path=/head/; revision=26071
-rw-r--r--sbin/mount_union/mount_union.c2
-rw-r--r--sbin/mount_unionfs/mount_unionfs.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/sbin/mount_union/mount_union.c b/sbin/mount_union/mount_union.c
index 03b0f2f805c6..699a01c83199 100644
--- a/sbin/mount_union/mount_union.c
+++ b/sbin/mount_union/mount_union.c
@@ -108,7 +108,7 @@ main(argc, argv)
err(EX_OSERR, "%s", target);
if (realpath(argv[1], source) == 0)
- err(EX_OSERR, "%s", target);
+ err(EX_OSERR, "%s", source);
if (subdir(target, source) || subdir(source, target))
errx(EX_USAGE, "%s (%s) and %s (%s) are not distinct paths",
diff --git a/sbin/mount_unionfs/mount_unionfs.c b/sbin/mount_unionfs/mount_unionfs.c
index 03b0f2f805c6..699a01c83199 100644
--- a/sbin/mount_unionfs/mount_unionfs.c
+++ b/sbin/mount_unionfs/mount_unionfs.c
@@ -108,7 +108,7 @@ main(argc, argv)
err(EX_OSERR, "%s", target);
if (realpath(argv[1], source) == 0)
- err(EX_OSERR, "%s", target);
+ err(EX_OSERR, "%s", source);
if (subdir(target, source) || subdir(source, target))
errx(EX_USAGE, "%s (%s) and %s (%s) are not distinct paths",