aboutsummaryrefslogtreecommitdiff
path: root/modutils
diff options
context:
space:
mode:
authorkraai <kraai@69ca8d6d-28ef-0310-b511-8ec308f3f277>2001-12-20 23:13:26 +0000
committerkraai <kraai@69ca8d6d-28ef-0310-b511-8ec308f3f277>2001-12-20 23:13:26 +0000
commitc3d7ff736bf14fd86f3f3f1246bc66d5e1afbc65 (patch)
tree97414e991363fa613f229019d697280cae1097e0 /modutils
parent62ecfc62e8eb535636f3c1029052f4b13b9b2183 (diff)
downloadbusybox-w32-c3d7ff736bf14fd86f3f3f1246bc66d5e1afbc65.tar.gz
busybox-w32-c3d7ff736bf14fd86f3f3f1246bc66d5e1afbc65.tar.bz2
busybox-w32-c3d7ff736bf14fd86f3f3f1246bc66d5e1afbc65.zip
Remove `== TRUE' tests and convert `!= TRUE' and `== FALSE' tests to use !.
git-svn-id: svn://busybox.net/trunk/busybox@3925 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'modutils')
-rw-r--r--modutils/insmod.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/modutils/insmod.c b/modutils/insmod.c
index a0bc65121..63500cc8f 100644
--- a/modutils/insmod.c
+++ b/modutils/insmod.c
@@ -133,7 +133,7 @@
133#ifndef MODUTILS_MODULE_H 133#ifndef MODUTILS_MODULE_H
134static const int MODUTILS_MODULE_H = 1; 134static const int MODUTILS_MODULE_H = 1;
135 135
136#ident "$Id: insmod.c,v 1.76 2001/12/14 16:08:17 kraai Exp $" 136#ident "$Id: insmod.c,v 1.77 2001/12/20 23:13:08 kraai Exp $"
137 137
138/* This file contains the structures used by the 2.0 and 2.1 kernels. 138/* This file contains the structures used by the 2.0 and 2.1 kernels.
139 We do not use the kernel headers directly because we do not wish 139 We do not use the kernel headers directly because we do not wish
@@ -350,7 +350,7 @@ int delete_module(const char *);
350#ifndef MODUTILS_OBJ_H 350#ifndef MODUTILS_OBJ_H
351static const int MODUTILS_OBJ_H = 1; 351static const int MODUTILS_OBJ_H = 1;
352 352
353#ident "$Id: insmod.c,v 1.76 2001/12/14 16:08:17 kraai Exp $" 353#ident "$Id: insmod.c,v 1.77 2001/12/20 23:13:08 kraai Exp $"
354 354
355/* The relocatable object is manipulated using elfin types. */ 355/* The relocatable object is manipulated using elfin types. */
356 356
@@ -3314,8 +3314,8 @@ extern int insmod_main( int argc, char **argv)
3314 strcpy(module_dir, _PATH_MODULES); 3314 strcpy(module_dir, _PATH_MODULES);
3315 /* No module found under /lib/modules/`uname -r`, this 3315 /* No module found under /lib/modules/`uname -r`, this
3316 * time cast the net a bit wider. Search /lib/modules/ */ 3316 * time cast the net a bit wider. Search /lib/modules/ */
3317 if (recursive_action(module_dir, TRUE, FALSE, FALSE, 3317 if (! recursive_action(module_dir, TRUE, FALSE, FALSE,
3318 check_module_name_match, 0, m_fullName) == FALSE) 3318 check_module_name_match, 0, m_fullName))
3319 { 3319 {
3320 if (m_filename[0] == '\0' 3320 if (m_filename[0] == '\0'
3321 || ((fp = fopen(m_filename, "r")) == NULL)) 3321 || ((fp = fopen(m_filename, "r")) == NULL))