A few more string duplicates found & eliminated

# size busybox_old busybox_unstripped
   text    data     bss     dec     hex filename
 679693    2700   15632  698025   aa6a9 busybox_old
 679523    2700   15632  697855   aa5ff busybox_unstripped
This commit is contained in:
Denis Vlasenko
2007-06-12 08:52:02 +00:00
parent 16d58d75ee
commit 15611bb958
6 changed files with 18 additions and 20 deletions

View File

@@ -4112,18 +4112,13 @@ int insmod_main( int argc, char **argv)
}
if (strncmp(uts_info.release, m_strversion, STRVERSIONLEN) != 0) {
if (flag_force_load) {
bb_error_msg("warning: kernel-module version mismatch\n"
"\t%s was compiled for kernel version %s\n"
"\twhile this kernel is version %s",
m_filename, m_strversion, uts_info.release);
} else {
bb_error_msg("kernel-module version mismatch\n"
"\t%s was compiled for kernel version %s\n"
"\twhile this kernel is version %s.",
m_filename, m_strversion, uts_info.release);
bb_error_msg("%skernel-module version mismatch\n"
"\t%s was compiled for kernel version %s\n"
"\twhile this kernel is version %s",
flag_force_load ? "warning: " : "",
m_filename, m_strversion, uts_info.release);
if (!flag_force_load)
goto out;
}
}
}
k_crcs = 0;