summaryrefslogtreecommitdiff
path: root/package/makedevs
diff options
context:
space:
mode:
authorAngelo Compagnucci <angelo.compagnucci@gmail.com>2015-04-13 08:32:21 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2015-04-13 14:17:53 +0200
commitf3b8056960024151b07fc3e3fa1d12d15ee979ea (patch)
treefb493cf855d01c8d736cf2c79b1bf5870fac857c /package/makedevs
parentedbeeeff57d1960c5568c879c134e11a719ecae3 (diff)
package/makedevs: fixing missing return type
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>
Diffstat (limited to 'package/makedevs')
-rw-r--r--package/makedevs/makedevs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/makedevs/makedevs.c b/package/makedevs/makedevs.c
index ee0f9fb0b..53ff6fef0 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) {