From b225e2a76bcd2b1f3f919a09dba1e186c0d4fa65 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Sat, 28 Aug 2004 00:43:07 +0000 Subject: Fixup some warnings --- modutils/insmod.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'modutils') 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; -- cgit v1.1