aboutsummaryrefslogtreecommitdiff
path: root/modutils
diff options
context:
space:
mode:
authorerik <erik@69ca8d6d-28ef-0310-b511-8ec308f3f277>2000-02-07 05:29:42 +0000
committererik <erik@69ca8d6d-28ef-0310-b511-8ec308f3f277>2000-02-07 05:29:42 +0000
commit74bc01e03e96d5a6a318688d2ee8c620f32ce928 (patch)
treedccf8f905fc5807239883da9fca6597037d487fc /modutils
parentcac2faf4271a09ae2e37e87cbd7d6ea363667d51 (diff)
downloadbusybox-w32-74bc01e03e96d5a6a318688d2ee8c620f32ce928.tar.gz
busybox-w32-74bc01e03e96d5a6a318688d2ee8c620f32ce928.tar.bz2
busybox-w32-74bc01e03e96d5a6a318688d2ee8c620f32ce928.zip
A few minor updates. ;-)
Seriously though, read the Changelog for busybox 0.42, which this is about to become... -Erik git-svn-id: svn://busybox.net/trunk/busybox@351 69ca8d6d-28ef-0310-b511-8ec308f3f277
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 9cb635f40..31cb11261 100644
--- a/modutils/insmod.c
+++ b/modutils/insmod.c
@@ -67,8 +67,8 @@ _syscall2(unsigned long, create_module, const char *, name, size_t, size)
67#endif 67#endif
68 68
69 69
70static char m_filename[PATH_MAX] = "\0"; 70static char m_filename[PATH_MAX + 1] = "\0";
71static char m_fullName[PATH_MAX] ="\0"; 71static char m_fullName[PATH_MAX + 1] = "\0";
72static const char insmod_usage[] = 72static const char insmod_usage[] =
73 "insmod [OPTION]... MODULE [symbol=value]...\n\n" 73 "insmod [OPTION]... MODULE [symbol=value]...\n\n"
74 "Loads the specified kernel modules into the kernel.\n\n" 74 "Loads the specified kernel modules into the kernel.\n\n"
@@ -101,7 +101,7 @@ extern int insmod_main(int argc, char **argv)
101{ 101{
102 int len; 102 int len;
103 char *tmp; 103 char *tmp;
104 char m_name[PATH_MAX] ="\0"; 104 char m_name[PATH_MAX + 1] ="\0";
105 FILE *fp; 105 FILE *fp;
106 106
107 if (argc<=1) { 107 if (argc<=1) {