summaryrefslogtreecommitdiff
path: root/Kernel/mkmap.sh
diff options
context:
space:
mode:
Diffstat (limited to 'Kernel/mkmap.sh')
-rw-r--r--Kernel/mkmap.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/mkmap.sh b/Kernel/mkmap.sh
index 118c0b4a5f..15231e8fcd 100644
--- a/Kernel/mkmap.sh
+++ b/Kernel/mkmap.sh
@@ -1,6 +1,6 @@
#!/bin/sh
tmp=$(mktemp)
-nm -n kernel | awk '{ if ($2 != "a") print; }' | uniq > "$tmp"
+nm -n Kernel | awk '{ if ($2 != "a") print; }' | uniq > "$tmp"
printf "%08x\n" "$(wc -l "$tmp" | cut -f1 -d' ')" > kernel.map
cat "$tmp" >> kernel.map
rm -f "$tmp"