summary refs log tree commit diff
path: root/host
diff options
context:
space:
mode:
authorAlyssa Ross <hi@alyssa.is>2023-05-09 11:19:33 +0000
committerAlyssa Ross <hi@alyssa.is>2023-05-09 11:19:33 +0000
commit69589f85508d8279d52bdd70d35df71750718954 (patch)
tree21ae3b520bbcaf231f4e5c2b980b968a7ea66b01 /host
parent608cf1bb5d9f252e983404ab9547e627a37d3eb4 (diff)
downloadspectrum-69589f85508d8279d52bdd70d35df71750718954.tar
spectrum-69589f85508d8279d52bdd70d35df71750718954.tar.gz
spectrum-69589f85508d8279d52bdd70d35df71750718954.tar.bz2
spectrum-69589f85508d8279d52bdd70d35df71750718954.tar.lz
spectrum-69589f85508d8279d52bdd70d35df71750718954.tar.xz
spectrum-69589f85508d8279d52bdd70d35df71750718954.tar.zst
spectrum-69589f85508d8279d52bdd70d35df71750718954.zip
host/rootfs: gen_modalias.sh.awk: close modmap
Reported by gawk --lint.  Not too important, but makes sense.

Signed-off-by: Alyssa Ross <hi@alyssa.is>
Diffstat (limited to 'host')
-rwxr-xr-xhost/rootfs/scripts/modprobe/gen_modalias.sh.awk1
1 files changed, 1 insertions, 0 deletions
diff --git a/host/rootfs/scripts/modprobe/gen_modalias.sh.awk b/host/rootfs/scripts/modprobe/gen_modalias.sh.awk
index 65852c1..8a758f5 100755
--- a/host/rootfs/scripts/modprobe/gen_modalias.sh.awk
+++ b/host/rootfs/scripts/modprobe/gen_modalias.sh.awk
@@ -36,6 +36,7 @@ BEGIN {
 
 		remap[driver] = command
 	}
+	close(modmap)
 
 	print "#!/bin/sh -x"
 	# Break this up to avoid confusing reuse lint.