Skip to content
Snippets Groups Projects
Commit 33be6a0f authored by Simon McVittie's avatar Simon McVittie
Browse files

identify-library-abi: Improve diagnostic message

parent 053cbb89
No related branches found
No related tags found
No related merge requests found
...@@ -224,7 +224,7 @@ run (int argc, ...@@ -224,7 +224,7 @@ run (int argc,
real_directory = realpath (opt_directory, NULL); real_directory = realpath (opt_directory, NULL);
if (real_directory == NULL) if (real_directory == NULL)
return glnx_throw_errno_prefix (error, "Unable to realpath \"%s\"", opt_directory); return glnx_throw_errno_prefix (error, "Unable to find real path of \"%s\"", opt_directory);
if (nftw (real_directory, list_libraries_helper, 10, FTW_DEPTH|FTW_PHYS) < 0) if (nftw (real_directory, list_libraries_helper, 10, FTW_DEPTH|FTW_PHYS) < 0)
{ {
......
...@@ -212,7 +212,7 @@ test_arguments_validation (Fixture *f, ...@@ -212,7 +212,7 @@ test_arguments_validation (Fixture *f,
NULL, NULL,
}, },
.exit_status = 1, .exit_status = 1,
.stderr_contains = "Unable to realpath", .stderr_contains = "Unable to find real path",
}, },
}; };
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment