diff options
author | Max Kellermann <max@duempel.org> | 2011-03-16 18:08:54 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2011-03-16 18:08:54 +0100 |
commit | 6dcec366214da4238819914985e4921e258ba324 (patch) | |
tree | 5d13492cdd62fccd7e380b5511262c66a9fdb999 /src/update_walk.c | |
parent | e2aea6bce581e09e20f7570fd67cb92896f60656 (diff) | |
parent | 4d4b7e3de076ed8cf4a4d1e780a43d777221a125 (diff) | |
download | mpd-6dcec366214da4238819914985e4921e258ba324.tar.gz mpd-6dcec366214da4238819914985e4921e258ba324.tar.xz mpd-6dcec366214da4238819914985e4921e258ba324.zip |
Merge release 0.15.16 into v0.16.x
Conflicts:
NEWS
configure.ac
src/output/jack_plugin.c
src/update.c
Diffstat (limited to 'src/update_walk.c')
-rw-r--r-- | src/update_walk.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/update_walk.c b/src/update_walk.c index 95d5854a8..a1796edcb 100644 --- a/src/update_walk.c +++ b/src/update_walk.c @@ -300,6 +300,9 @@ stat_directory(const struct directory *directory, struct stat *st) if (path_fs == NULL) return -1; ret = stat(path_fs, st); + if (ret < 0) + g_warning("Failed to stat %s: %s", path_fs, g_strerror(errno)); + g_free(path_fs); return ret; } @@ -316,6 +319,9 @@ stat_directory_child(const struct directory *parent, const char *name, return -1; ret = stat(path_fs, st); + if (ret < 0) + g_warning("Failed to stat %s: %s", path_fs, g_strerror(errno)); + g_free(path_fs); return ret; } |