aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/lib/recipetool/create_kmod.py
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/lib/recipetool/create_kmod.py')
-rw-r--r--scripts/lib/recipetool/create_kmod.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/lib/recipetool/create_kmod.py b/scripts/lib/recipetool/create_kmod.py
index 4569b53c80..3982537a4e 100644
--- a/scripts/lib/recipetool/create_kmod.py
+++ b/scripts/lib/recipetool/create_kmod.py
@@ -141,7 +141,7 @@ class KernelModuleRecipeHandler(RecipeHandler):
warnmsg = 'Unable to find means of passing kernel path into install makefile - if kernel path is hardcoded you will need to patch the makefile'
if warnmsg:
warnmsg += '. Note that the variable KERNEL_SRC will be passed in as the kernel source path.'
- logger.warn(warnmsg)
+ logger.warning(warnmsg)
lines_after.append('# %s' % warnmsg)
return True