diff options
author | Eric Andersen | 2004-08-28 00:43:07 +0000 |
---|---|---|
committer | Eric Andersen | 2004-08-28 00:43:07 +0000 |
commit | b225e2a76bcd2b1f3f919a09dba1e186c0d4fa65 (patch) | |
tree | cb40909520a92fd5c133d831a4d34865a15ae6f0 /modutils | |
parent | 785001468dffa2d532b6efa5603622dd85d2bc74 (diff) | |
download | busybox-b225e2a76bcd2b1f3f919a09dba1e186c0d4fa65.zip busybox-b225e2a76bcd2b1f3f919a09dba1e186c0d4fa65.tar.gz |
Fixup some warnings
Diffstat (limited to 'modutils')
-rw-r--r-- | modutils/insmod.c | 6 |
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; |