summaryrefslogtreecommitdiff
path: root/src/scanflags.c
diff options
context:
space:
mode:
authorChristos Zoulas <christos@zoulas.com>2014-10-31 14:20:02 -0400
committerWill Estes <westes575@gmail.com>2014-11-11 21:09:36 -0500
commit03a7f82cb4e0b273afbd1de04603a26a467e94c9 (patch)
treed54aef088666875a9d94037884b00ce23437ba1b /src/scanflags.c
parent2d257614dd66f410375f24ce1f2306b3c260bd29 (diff)
NetBSD downstream patches.
const fixes. -Wconversion fixes for the skeleton files. param namespace protection (add _ to inline function parameters). unused variable/code removal. rename warn to lwarn to avoid conflict with <err.h>. ctype.h function argument correction. merged the error functions lerrif and lerrsf -> lerr.
Diffstat (limited to 'src/scanflags.c')
-rw-r--r--src/scanflags.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/scanflags.c b/src/scanflags.c
index c61d47f..5beb24a 100644
--- a/src/scanflags.c
+++ b/src/scanflags.c
@@ -61,7 +61,7 @@ sf_init (void)
assert(_sf_stk == NULL);
_sf_stk = (scanflags_t*) flex_alloc ( sizeof(scanflags_t) * (_sf_max = 32));
if (!_sf_stk)
- lerrsf_fatal(_("Unable to allocate %ld of stack"), sizeof(scanflags_t));
+ lerr_fatal(_("Unable to allocate %zu of stack"), sizeof(scanflags_t));
_sf_stk[_sf_top_ix] = 0;
}