Commit e1d68095 authored by Pavel Tikhomirov's avatar Pavel Tikhomirov Committed by Andrei Vagin

files-reg: fixup order in message at link error path

Error messages in linkat_hard and open_path about link errors contradict
each other, fix the wrong one.
Signed-off-by: 's avatarPavel Tikhomirov <ptikhomirov@virtuozzo.com>
Signed-off-by: 's avatarAndrei Vagin <avagin@gmail.com>
parent 4d4bf247
......@@ -1623,8 +1623,8 @@ int open_path(struct file_desc *d,
static char tmp_path[PATH_MAX];
if (errno != EEXIST) {
pr_perror("Can't link %s -> %s", rfi->path,
rfi->remap->rpath);
pr_perror("Can't link %s -> %s",
rfi->remap->rpath, rfi->path);
return -1;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment