summaryrefslogtreecommitdiff
blob: 0345cebbc6fa6d725ff316c9ab9982dd3abc15ee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- prelink/src/gather.c.jj	2005-06-10 06:21:09.000000000 -0700
+++ prelink/src/gather.c	2006-04-10 19:42:15.000000000 -0700
@@ -1003,6 +1003,10 @@
 	return 0;
       ++implicit;
       ret = nftw64 (name, gather_func, 20, flags | FTW_ACTIONRETVAL);
+      if(ret)
+	{
+	  error (0, errno, "Can't walk directory tree %s", name);
+	}
       --implicit;
 #ifndef HAVE_FTW_ACTIONRETVAL
       free (blacklist_dir);