aboutsummaryrefslogtreecommitdiff
path: root/modutils
diff options
context:
space:
mode:
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 1ee96f1c8..eafec7d5d 100644
--- a/modutils/insmod.c
+++ b/modutils/insmod.c
@@ -67,8 +67,8 @@ unsigned long create_module(const char *name, size_t size)
67#else 67#else
68_syscall2(unsigned long, create_module, const char *, name, size_t, size) 68_syscall2(unsigned long, create_module, const char *, name, size_t, size)
69#endif 69#endif
70static char m_filename[PATH_MAX + 1] = "\0"; 70static char m_filename[BUFSIZ + 1] = "\0";
71static char m_fullName[PATH_MAX + 1] = "\0"; 71static char m_fullName[BUFSIZ + 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"
@@ -103,7 +103,7 @@ extern int insmod_main(int argc, char **argv)
103{ 103{
104 int len; 104 int len;
105 char *tmp; 105 char *tmp;
106 char m_name[PATH_MAX + 1] = "\0"; 106 char m_name[BUFSIZ + 1] = "\0";
107 FILE *fp; 107 FILE *fp;
108 108
109 if (argc <= 1) { 109 if (argc <= 1) {