mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 08:21:12 +02:00
filebrowser, moviebrowser, pictureviewer: clarify error message
This commit is contained in:
@@ -563,7 +563,7 @@ bool CFileBrowser::readDir_std(const std::string & dirname, CFileList* flist)
|
||||
|
||||
// printf("file.Name: '%s', getFileName: '%s' getPath: '%s'\n",file.Name.c_str(),file.getFileName().c_str(),file.getPath().c_str());
|
||||
if(stat64((file.Name).c_str(),&statbuf) != 0)
|
||||
perror("stat error");
|
||||
fprintf(stderr, "stat '%s' error: %m\n", file.Name.c_str());
|
||||
else
|
||||
{
|
||||
file.Mode = statbuf.st_mode;
|
||||
|
Reference in New Issue
Block a user