diff options
| author | Mark Murray <markm@FreeBSD.org> | 2003-08-22 17:32:07 +0000 |
|---|---|---|
| committer | Mark Murray <markm@FreeBSD.org> | 2003-08-22 17:32:07 +0000 |
| commit | a272cd3af01720eab4b74693f31a8dbe3c66b870 (patch) | |
| tree | 1eb050875892779ca4712d66dce6d99317516b72 /usr.bin/getconf/limits.gperf | |
| parent | b842ac21d62a6f750dfd22b4e0297d88366933e6 (diff) | |
Notes
Diffstat (limited to 'usr.bin/getconf/limits.gperf')
| -rw-r--r-- | usr.bin/getconf/limits.gperf | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/getconf/limits.gperf b/usr.bin/getconf/limits.gperf index bb8ef0d09d87..68e0d65e78ff 100644 --- a/usr.bin/getconf/limits.gperf +++ b/usr.bin/getconf/limits.gperf @@ -15,7 +15,7 @@ /* * Override gperf's built-in external scope. */ -static const struct map *in_word_set(const char *str, unsigned int len); +static const struct map *in_word_set(const char *str); %} struct map { const char *name; intmax_t value; int valid; }; @@ -106,7 +106,7 @@ find_limit(const char *name, intmax_t *value) { const struct map *rv; - rv = in_word_set(name, strlen(name)); + rv = in_word_set(name); if (rv != NULL) { if (rv->valid) { *value = rv->value; |
