aboutsummaryrefslogtreecommitdiff
path: root/package/makedevs
diff options
context:
space:
mode:
authorGravatar Angelo Compagnucci <angelo.compagnucci@gmail.com>2015-04-13 08:32:21 +0200
committerGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2015-04-13 14:17:53 +0200
commitf3b8056960024151b07fc3e3fa1d12d15ee979ea (patch)
treefb493cf855d01c8d736cf2c79b1bf5870fac857c /package/makedevs
parentedbeeeff57d1960c5568c879c134e11a719ecae3 (diff)
downloadbuildroot-f3b8056960024151b07fc3e3fa1d12d15ee979ea.tar.gz
buildroot-f3b8056960024151b07fc3e3fa1d12d15ee979ea.tar.bz2
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 ee0f9fb0bf..53ff6fef0e 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) {