package/makedevs: fixing missing return type
authorAngelo Compagnucci <angelo.compagnucci@gmail.com>
Mon, 13 Apr 2015 06:32:21 +0000 (08:32 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Mon, 13 Apr 2015 12:17:53 +0000 (14:17 +0200)
This patch fixes a missing return type in bb_recursive function.

Signed-off-by: Angelo Compagnucci <angelo.compagnucci@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/makedevs/makedevs.c

index ee0f9fb0bff812f5c8e624bed4b732160f0f485e..53ff6fef0ec4dbc30b1b9913c8a56275259f9d90 100644 (file)
@@ -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) {