mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-06 09:10:28 +00:00
If the .inf file did not have a Default entry for the registry key then write
out a blank value and close the brackets on the ndis_regvals array.
This commit is contained in:
parent
19c3793335
commit
a0a16e977c
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=178214
|
@ -539,8 +539,10 @@ dump_defaultinfo(const struct section *s, const struct reg *r, int devidx)
|
|||
continue;
|
||||
fprintf(ofp, "\n\t{ \"%s\" }, %d },", reg->value == NULL ? "" :
|
||||
stringcvt(reg->value), devidx);
|
||||
break;
|
||||
return;
|
||||
}
|
||||
/* Default registry entry missing */
|
||||
fprintf(ofp, "\n\t{ \"\" }, %d },", devidx);
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue