Skip to contentSkip to conversation

package/makedevs: fixing missing return type

PATCH New Angelo Compagnucci 2 participants 2 messages Apr 13, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/makedevs: fixing missing return type

This patch fixes a missing return type in bb_recursive function.

---
 package/makedevs/makedevs.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
package/makedevs/makedevs.c +1 -1
index ee0f9fb..53ff6fe 100644
@@ -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) {
Signature · 1 line
1.9.1
#1 lore raw

PATCH 1/1 package/makedevs: fixing missing return type

Dear Angelo Compagnucci,

Quoted 6 lines · Angelo Compagnucci

This patch fixes a missing return type in bb_recursive function.

---
 package/makedevs/makedevs.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Applied, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com