diff options
Diffstat (limited to 'scripts/kernel-doc')
-rwxr-xr-x | scripts/kernel-doc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/kernel-doc b/scripts/kernel-doc index e4fa8d9568ba..8cf528b5e65a 100755 --- a/scripts/kernel-doc +++ b/scripts/kernel-doc | |||
@@ -334,7 +334,7 @@ while ($ARGV[0] =~ m/^-(.*)/) { | |||
334 | 334 | ||
335 | # get kernel version from env | 335 | # get kernel version from env |
336 | sub get_kernel_version() { | 336 | sub get_kernel_version() { |
337 | my $version; | 337 | my $version = 'unknown kernel version'; |
338 | 338 | ||
339 | if (defined($ENV{'KERNELVERSION'})) { | 339 | if (defined($ENV{'KERNELVERSION'})) { |
340 | $version = $ENV{'KERNELVERSION'}; | 340 | $version = $ENV{'KERNELVERSION'}; |