aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libbb/recursive_action.c2
-rw-r--r--modutils/insmod.c8
2 files changed, 5 insertions, 5 deletions
diff --git a/libbb/recursive_action.c b/libbb/recursive_action.c
index d27629829..72371963f 100644
--- a/libbb/recursive_action.c
+++ b/libbb/recursive_action.c
@@ -100,7 +100,7 @@ int recursive_action(const char *fileName,
100 return FALSE; 100 return FALSE;
101 } 101 }
102 status = TRUE; 102 status = TRUE;
103 while ((next = readdir(dir)) != NULL) { 103 while (status && (next = readdir(dir)) != NULL) {
104 char *nextFile; 104 char *nextFile;
105 105
106 nextFile = concat_subpath_file(fileName, next->d_name); 106 nextFile = concat_subpath_file(fileName, next->d_name);
diff --git a/modutils/insmod.c b/modutils/insmod.c
index 455b1c10c..d788a76c3 100644
--- a/modutils/insmod.c
+++ b/modutils/insmod.c
@@ -282,7 +282,7 @@ extern int insmod_ng_main( int argc, char **argv);
282#ifndef MODUTILS_MODULE_H 282#ifndef MODUTILS_MODULE_H
283static const int MODUTILS_MODULE_H = 1; 283static const int MODUTILS_MODULE_H = 1;
284 284
285#ident "$Id: insmod.c,v 1.115 2004/03/19 12:17:04 andersen Exp $" 285#ident "$Id: insmod.c,v 1.116 2004/04/06 11:56:26 andersen Exp $"
286 286
287/* This file contains the structures used by the 2.0 and 2.1 kernels. 287/* This file contains the structures used by the 2.0 and 2.1 kernels.
288 We do not use the kernel headers directly because we do not wish 288 We do not use the kernel headers directly because we do not wish
@@ -503,7 +503,7 @@ int delete_module(const char *);
503#ifndef MODUTILS_OBJ_H 503#ifndef MODUTILS_OBJ_H
504static const int MODUTILS_OBJ_H = 1; 504static const int MODUTILS_OBJ_H = 1;
505 505
506#ident "$Id: insmod.c,v 1.115 2004/03/19 12:17:04 andersen Exp $" 506#ident "$Id: insmod.c,v 1.116 2004/04/06 11:56:26 andersen Exp $"
507 507
508/* The relocatable object is manipulated using elfin types. */ 508/* The relocatable object is manipulated using elfin types. */
509 509
@@ -811,11 +811,11 @@ static int check_module_name_match(const char *filename, struct stat *statbuf,
811 free(tmp1); 811 free(tmp1);
812 /* Stop searching if we find a match */ 812 /* Stop searching if we find a match */
813 m_filename = bb_xstrdup(filename); 813 m_filename = bb_xstrdup(filename);
814 return (TRUE); 814 return (FALSE);
815 } 815 }
816 free(tmp1); 816 free(tmp1);
817 } 817 }
818 return (FALSE); 818 return (TRUE);
819} 819}
820 820
821 821