summaryrefslogtreecommitdiffstats
path: root/sbin/mount_union
diff options
context:
space:
mode:
Diffstat (limited to 'sbin/mount_union')
-rw-r--r--sbin/mount_union/mount_union.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/mount_union/mount_union.c b/sbin/mount_union/mount_union.c
index 03b0f2f..699a01c 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",
OpenPOWER on IntegriCloud