aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/bootparamd
diff options
context:
space:
mode:
authorAlan Somers <asomers@FreeBSD.org>2017-05-31 14:53:50 +0000
committerAlan Somers <asomers@FreeBSD.org>2017-05-31 14:53:50 +0000
commit43a251d687a16a671f578ad3edfd73879e27e23b (patch)
tree06e1d078865bce19ae7d7515f3d8e8ac8fbffe6c /usr.sbin/bootparamd
parent90b30e6560291c2dee0a9de9f601b8d073b4ab7d (diff)
downloadsrc-43a251d687a16a671f578ad3edfd73879e27e23b.tar.gz
src-43a251d687a16a671f578ad3edfd73879e27e23b.zip
Notes
Diffstat (limited to 'usr.sbin/bootparamd')
-rw-r--r--usr.sbin/bootparamd/bootparamd/bootparamd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.sbin/bootparamd/bootparamd/bootparamd.c b/usr.sbin/bootparamd/bootparamd/bootparamd.c
index baccd42d427b..08cda8c4b01d 100644
--- a/usr.sbin/bootparamd/bootparamd/bootparamd.c
+++ b/usr.sbin/bootparamd/bootparamd/bootparamd.c
@@ -254,6 +254,7 @@ int blen;
info of the file */
if (match) {
+ fid_len = strlen(fileid);
#define AS_FORMAT(d) "%" #d "s"
#define REXPAND(d) AS_FORMAT(d) /* Force another preprocessor expansion */
while ( ! res && (fscanf(bpf, REXPAND(INFOLEN), info)) > 0) {