diff options
-rw-r--r-- | sbin/mount_union/mount_union.c | 2 | ||||
-rw-r--r-- | sbin/mount_unionfs/mount_unionfs.c | 2 |
2 files changed, 2 insertions, 2 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", diff --git a/sbin/mount_unionfs/mount_unionfs.c b/sbin/mount_unionfs/mount_unionfs.c index 03b0f2f..699a01c 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", |