summaryrefslogtreecommitdiff
path: root/modutils
diff options
context:
space:
mode:
authorEric Andersen2004-08-28 00:43:07 +0000
committerEric Andersen2004-08-28 00:43:07 +0000
commitb225e2a76bcd2b1f3f919a09dba1e186c0d4fa65 (patch)
treecb40909520a92fd5c133d831a4d34865a15ae6f0 /modutils
parent785001468dffa2d532b6efa5603622dd85d2bc74 (diff)
downloadbusybox-b225e2a76bcd2b1f3f919a09dba1e186c0d4fa65.zip
busybox-b225e2a76bcd2b1f3f919a09dba1e186c0d4fa65.tar.gz
Fixup some warnings
Diffstat (limited to 'modutils')
-rw-r--r--modutils/insmod.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/modutils/insmod.c b/modutils/insmod.c
index c057774..55a3e49 100644
--- a/modutils/insmod.c
+++ b/modutils/insmod.c
@@ -300,7 +300,7 @@ extern int insmod_ng_main( int argc, char **argv);
#ifndef MODUTILS_MODULE_H
static const int MODUTILS_MODULE_H = 1;
-#ident "$Id: insmod.c,v 1.123 2004/08/19 19:17:30 andersen Exp $"
+#ident "$Id: insmod.c,v 1.124 2004/08/28 00:43:06 andersen Exp $"
/*======================================================================*/
/* For sizeof() which are related to the module platform and not to the
@@ -458,7 +458,7 @@ int delete_module(const char *);
#ifndef MODUTILS_OBJ_H
static const int MODUTILS_OBJ_H = 1;
-#ident "$Id: insmod.c,v 1.123 2004/08/19 19:17:30 andersen Exp $"
+#ident "$Id: insmod.c,v 1.124 2004/08/28 00:43:06 andersen Exp $"
/* The relocatable object is manipulated using elfin types. */
@@ -1973,7 +1973,7 @@ add_symbols_from( struct obj_file *f,
if (strncmp((char *)s->name, "GPLONLY_", 8) == 0) {
#ifdef CONFIG_FEATURE_CHECK_TAINTED_MODULE
if (gpl)
- ((char *)s->name) += 8;
+ s->name += 8;
else
#endif
continue;