summaryrefslogtreecommitdiffstats
path: root/freebsd/sys/kern/subr_hints.c
diff options
context:
space:
mode:
Diffstat (limited to 'freebsd/sys/kern/subr_hints.c')
-rw-r--r--freebsd/sys/kern/subr_hints.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/freebsd/sys/kern/subr_hints.c b/freebsd/sys/kern/subr_hints.c
index 960ceb8a..b91be201 100644
--- a/freebsd/sys/kern/subr_hints.c
+++ b/freebsd/sys/kern/subr_hints.c
@@ -141,7 +141,7 @@ res_find(int *line, int *startln,
if (strncmp(cp, "hint.", 5) != 0)
hit = 0;
else
- n = sscanf(cp, "hint.%32[^.].%d.%32[^=]=%128s",
+ n = sscanf(cp, "hint.%32[^.].%d.%32[^=]=%127s",
r_name, &r_unit, r_resname, r_value);
if (hit && n != 4) {
printf("CONFIG: invalid hint '%s'\n", cp);