aboutsummaryrefslogtreecommitdiff
path: root/modutils/insmod.c
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2006-11-27 16:49:55 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2006-11-27 16:49:55 +0000
commitd9e15f206840219bb0f39c912a42fdcf8cbcaed6 (patch)
treeffdef7f5ab4a33038d0a62c9355b48f362aa463e /modutils/insmod.c
parent079f8afa0a16112cbaf7012c82b38b7358b82141 (diff)
downloadbusybox-w32-d9e15f206840219bb0f39c912a42fdcf8cbcaed6.tar.gz
busybox-w32-d9e15f206840219bb0f39c912a42fdcf8cbcaed6.tar.bz2
busybox-w32-d9e15f206840219bb0f39c912a42fdcf8cbcaed6.zip
style cleanup: return(a) -> return a, part 2
Diffstat (limited to 'modutils/insmod.c')
-rw-r--r--modutils/insmod.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/modutils/insmod.c b/modutils/insmod.c
index dd999a672..7b715b9c3 100644
--- a/modutils/insmod.c
+++ b/modutils/insmod.c
@@ -805,7 +805,7 @@ static int check_module_name_match(const char *filename, struct stat *statbuf,
805 char *fullname = (char *) userdata; 805 char *fullname = (char *) userdata;
806 806
807 if (fullname[0] == '\0') 807 if (fullname[0] == '\0')
808 return (FALSE); 808 return FALSE;
809 else { 809 else {
810 char *tmp, *tmp1 = xstrdup(filename); 810 char *tmp, *tmp1 = xstrdup(filename);
811 tmp = bb_get_last_path_component(tmp1); 811 tmp = bb_get_last_path_component(tmp1);
@@ -813,11 +813,11 @@ static int check_module_name_match(const char *filename, struct stat *statbuf,
813 free(tmp1); 813 free(tmp1);
814 /* Stop searching if we find a match */ 814 /* Stop searching if we find a match */
815 m_filename = xstrdup(filename); 815 m_filename = xstrdup(filename);
816 return (FALSE); 816 return FALSE;
817 } 817 }
818 free(tmp1); 818 free(tmp1);
819 } 819 }
820 return (TRUE); 820 return TRUE;
821} 821}
822 822
823 823