mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 16:31:11 +02:00
filebrowser, moviebrowser, pictureviewer: clarify error message
This commit is contained in:
committed by
Jacek Jendrzej
parent
701cb24f45
commit
4e1678c2a3
@@ -450,7 +450,7 @@ int CPictureViewerGui::show()
|
||||
pic.Type = tmp.substr(tmp.rfind('.')+1);
|
||||
struct stat statbuf;
|
||||
if (stat(pic.Filename.c_str(),&statbuf) != 0)
|
||||
printf("stat error");
|
||||
fprintf(stderr, "stat '%s' error: %m\n", pic.Filename.c_str());
|
||||
pic.Date = statbuf.st_mtime;
|
||||
playlist.push_back(pic);
|
||||
}
|
||||
|
Reference in New Issue
Block a user