diff options
author | iedowse <iedowse@FreeBSD.org> | 2002-08-06 19:31:04 +0000 |
---|---|---|
committer | iedowse <iedowse@FreeBSD.org> | 2002-08-06 19:31:04 +0000 |
commit | 9e1cd6cb85c2603eb64f682254bc37c961696288 (patch) | |
tree | c040eba37d372b044a0838f401bbd62924572642 /sys/conf/kmod_syms.awk | |
parent | a7174d2f86d7eeb93a3759293bc8d474c6ae4fb1 (diff) | |
download | FreeBSD-src-9e1cd6cb85c2603eb64f682254bc37c961696288.zip FreeBSD-src-9e1cd6cb85c2603eb64f682254bc37c961696288.tar.gz |
Our awk does not implement the ARGIND variable, so we were attempting
to parse the binary .kld file as a list of symbols. Fix this by
simply deleting the unwanted argument from the ARGV[] array instead
of trying to skip over it.
Diffstat (limited to 'sys/conf/kmod_syms.awk')
-rw-r--r-- | sys/conf/kmod_syms.awk | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/conf/kmod_syms.awk b/sys/conf/kmod_syms.awk index f97a224..677d813 100644 --- a/sys/conf/kmod_syms.awk +++ b/sys/conf/kmod_syms.awk @@ -7,12 +7,11 @@ BEGIN { syms[$3] = $2 } } + delete ARGV[1] } # De-list symbols from the export list. { - if (ARGIND == 1) - nextfile delete syms[$0] } |