diff options
author | Robert Griebl | 2002-07-21 17:33:27 +0000 |
---|---|---|
committer | Robert Griebl | 2002-07-21 17:33:27 +0000 |
commit | 967c3d44066d3f8b290953d8896765ec1edf4ef7 (patch) | |
tree | 583680b59a53df6d29d8a9c33e62bd6f02e4a622 /modutils/insmod.c | |
parent | 1cd044549531ef1c4016ec3c60652dad95b1617f (diff) | |
download | busybox-967c3d44066d3f8b290953d8896765ec1edf4ef7.zip busybox-967c3d44066d3f8b290953d8896765ec1edf4ef7.tar.gz |
Fixed two compiler warnings
Diffstat (limited to 'modutils/insmod.c')
-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 4f2e9a7..856c12a 100644 --- a/modutils/insmod.c +++ b/modutils/insmod.c @@ -233,7 +233,7 @@ #ifndef MODUTILS_MODULE_H static const int MODUTILS_MODULE_H = 1; -#ident "$Id: insmod.c,v 1.88 2002/07/19 00:05:48 sandman Exp $" +#ident "$Id: insmod.c,v 1.89 2002/07/21 17:33:26 sandman Exp $" /* This file contains the structures used by the 2.0 and 2.1 kernels. We do not use the kernel headers directly because we do not wish @@ -454,7 +454,7 @@ int delete_module(const char *); #ifndef MODUTILS_OBJ_H static const int MODUTILS_OBJ_H = 1; -#ident "$Id: insmod.c,v 1.88 2002/07/19 00:05:48 sandman Exp $" +#ident "$Id: insmod.c,v 1.89 2002/07/21 17:33:26 sandman Exp $" /* The relocatable object is manipulated using elfin types. */ @@ -3503,7 +3503,7 @@ extern int insmod_main( int argc, char **argv) tmp[len] = '\0'; } - bb_asprintf(&m_fullName, "%s.o", tmp, ".o"); + bb_asprintf(&m_fullName, "%s.o", tmp); if (!m_name) { m_name = tmp; |