[Buildroot] [PATCH] package/makedevs: fixing missing return type

Angelo Compagnucci angelo.compagnucci at gmail.com
Mon Apr 13 06:32:21 UTC 2015


This patch fixes a missing return type in bb_recursive function.

Signed-off-by: Angelo Compagnucci <angelo.compagnucci at gmail.com>
---
 package/makedevs/makedevs.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/makedevs/makedevs.c b/package/makedevs/makedevs.c
index ee0f9fb..53ff6fe 100644
--- a/package/makedevs/makedevs.c
+++ b/package/makedevs/makedevs.c
@@ -369,7 +369,7 @@ void bb_show_usage(void)
 	exit(1);
 }
 
-bb_recursive(const char *fpath, const struct stat *sb,
+int bb_recursive(const char *fpath, const struct stat *sb,
 		int tflag, struct FTW *ftwbuf){
 
 	if (chown(fpath, recursive_uid, recursive_gid) == -1) {
-- 
1.9.1



More information about the buildroot mailing list