1
0
Fork 0

better error message to help users and support staff

This commit is contained in:
mfranz 2005-07-03 10:27:35 +00:00
parent 4df7a3e9f8
commit 2f2d14a41f
2 changed files with 2 additions and 2 deletions

View file

@ -531,7 +531,7 @@ static string fgFindAircraftPath( const SGPath &path, const string &aircraft ) {
ulDirEnt* dire;
ulDir *dirp = ulOpenDir(path.str().c_str());
if (dirp == NULL) {
cerr << "Unable to open aircraft directory." << endl;
cerr << "Unable to open aircraft directory '" << path.str() << '\'' << endl;
exit(-1);
}

View file

@ -1727,7 +1727,7 @@ static void fgSearchAircraft(const SGPath &path, string_list &aircraft,
ulDirEnt* dire;
ulDir *dirp = ulOpenDir(path.str().c_str());
if (dirp == NULL) {
cerr << "Unable to open aircraft directory." << endl;
cerr << "Unable to open aircraft directory '" << path.str() << '\'' << endl;
exit(-1);
}