aboutsummaryrefslogtreecommitdiff
path: root/modutils/insmod.c
diff options
context:
space:
mode:
authorandersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277>2000-12-13 16:41:29 +0000
committerandersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277>2000-12-13 16:41:29 +0000
commit21a1f8085d0b26b16068cd4c5b484989f636f734 (patch)
tree54a624d1c2c18d6945b495840f34442e2b8d8ccb /modutils/insmod.c
parent179c1041c4169c5331da22d16745f71bd8de6930 (diff)
downloadbusybox-w32-21a1f8085d0b26b16068cd4c5b484989f636f734.tar.gz
busybox-w32-21a1f8085d0b26b16068cd4c5b484989f636f734.tar.bz2
busybox-w32-21a1f8085d0b26b16068cd4c5b484989f636f734.zip
A couple of updates to fix some minor cross compiling issues
git-svn-id: svn://busybox.net/trunk/busybox@1446 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to '')
-rw-r--r--modutils/insmod.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/modutils/insmod.c b/modutils/insmod.c
index 0b12c694d..f2f1e8028 100644
--- a/modutils/insmod.c
+++ b/modutils/insmod.c
@@ -78,7 +78,7 @@
78#ifndef MODUTILS_MODULE_H 78#ifndef MODUTILS_MODULE_H
79#define MODUTILS_MODULE_H 1 79#define MODUTILS_MODULE_H 1
80 80
81#ident "$Id: insmod.c,v 1.31 2000/12/07 19:56:48 markw Exp $" 81#ident "$Id: insmod.c,v 1.32 2000/12/13 16:41:29 andersen Exp $"
82 82
83/* This file contains the structures used by the 2.0 and 2.1 kernels. 83/* This file contains the structures used by the 2.0 and 2.1 kernels.
84 We do not use the kernel headers directly because we do not wish 84 We do not use the kernel headers directly because we do not wish
@@ -284,7 +284,7 @@ int delete_module(const char *);
284#ifndef MODUTILS_OBJ_H 284#ifndef MODUTILS_OBJ_H
285#define MODUTILS_OBJ_H 1 285#define MODUTILS_OBJ_H 1
286 286
287#ident "$Id: insmod.c,v 1.31 2000/12/07 19:56:48 markw Exp $" 287#ident "$Id: insmod.c,v 1.32 2000/12/13 16:41:29 andersen Exp $"
288 288
289/* The relocatable object is manipulated using elfin types. */ 289/* The relocatable object is manipulated using elfin types. */
290 290
@@ -859,7 +859,7 @@ arch_apply_relocation(struct obj_file *f,
859 break; 859 break;
860 860
861 default: 861 default:
862 printf("Warning: unhandled reloc %d\n",ELF32_R_TYPE(rel->r_info)); 862 printf("Warning: unhandled reloc %d\n",(int)ELF32_R_TYPE(rel->r_info));
863 ret = obj_reloc_unhandled; 863 ret = obj_reloc_unhandled;
864 break; 864 break;
865 } 865 }