Procházet zdrojové kódy

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>
Angelo Compagnucci před 10 roky
rodič
revize
f3b8056960
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      package/makedevs/makedevs.c

+ 1 - 1
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) {